#253273#253273

#253273 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.6% C 0.113 H 270.9°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#253273
RGBrgb(37, 50, 115)
HSLhsl(230, 51%, 30%)
HSVhsv(230, 68%, 45%)
CMYKcmyk(67.8%, 56.5%, 0%, 54.9%)
CIE-LABlab(23.38, 17.58, -39.18)
CIE-LCHlch(23.38, 42.94, 294.16°)
OKLaboklab(34.62% 0.0017 -0.1125)
OKLCHoklch(34.62% 0.113 270.9)
XYZxyz(4.9970, 3.9119, 16.7081)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253273 #736625
analogous
#255973 #253273 #3F2573
triadic
#253273 #732532 #327325
tetradic
#253273 #732559 #736625 #25733F
square
#253273 #732559 #736625 #25733F
split-complementary
#253273 #733F25 #597325
monochromatic
#070A17 #161E45 #253273 #3446A1 #4D61C6

Accessibility & contrast

On white

11.78
#253273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#253273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253273
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253273#FFFFFF#000000##FFFFFF
##2532731.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043B75
Deuteranopia (green-blind)
#003472
Tritanopia (blue-blind)
#00414D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #253273;
/* rgb */ color: rgb(37, 50, 115);
/* oklch */ color: oklch(34.6% 0.113 270.9);
Tailwind
colors: {
  custom: {
    50: '#69699c',
    500: '#253273',
    950: '#000000',
  },
}
SCSS
$custom: #253273;
$custom-light: #69699c;
$custom-dark: #000000;
JSON
{
  "hex": "#253273",
  "rgb": {
    "r": 37,
    "g": 50,
    "b": 115
  },
  "hsl": {
    "h": 230,
    "s": 51.316,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34615,
    "c": 0.11256,
    "h": 270.9
  },
  "luminance": 0.03912
}

Semantic roles & 50–950 ramp

primary
#253273
secondary
#A6974E
accent
#C34DDB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #253273

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#253273 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva