#253F6E#253F6E

#253F6E is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.2% C 0.087 H 261.3°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#253F6E
RGBrgb(37, 63, 110)
HSLhsl(219, 50%, 29%)
HSVhsv(219, 66%, 43%)
CMYKcmyk(66.4%, 42.7%, 0%, 56.9%)
CIE-LABlab(26.94, 6.57, -30.27)
CIE-LCHlch(26.94, 30.97, 282.24°)
OKLaboklab(37.23% -0.0131 -0.0861)
OKLCHoklch(37.23% 0.087 261.3)
XYZxyz(5.3539, 5.0736, 15.4460)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253F6E #6E5425
analogous
#25646E #253F6E #30256E
triadic
#253F6E #6E253F #3F6E25
tetradic
#253F6E #6E2564 #6E5425 #256E30
square
#253F6E #6E2564 #6E5425 #256E30
split-complementary
#253F6E #6E3025 #646E25
monochromatic
#080D17 #162540 #253F6E #34599C #4B76C2

Accessibility & contrast

On white

10.42
#253F6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#253F6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253F6E
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253F6E#FFFFFF#000000##FFFFFF
##253F6E1.0010.422.0110.42
#FFFFFF10.421.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4370
Deuteranopia (green-blind)
#1F3D6D
Tritanopia (blue-blind)
#004A51
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #253f6e;
/* rgb */ color: rgb(37, 63, 110);
/* oklch */ color: oklch(37.2% 0.087 261.3);
Tailwind
colors: {
  custom: {
    50: '#677398',
    500: '#253f6e',
    950: '#000000',
  },
}
SCSS
$custom: #253f6e;
$custom-light: #677398;
$custom-dark: #000000;
JSON
{
  "hex": "#253f6e",
  "rgb": {
    "r": 37,
    "g": 63,
    "b": 110
  },
  "hsl": {
    "h": 218.63,
    "s": 49.66,
    "l": 28.824
  },
  "oklch": {
    "l": 0.37225,
    "c": 0.08715,
    "h": 261.3
  },
  "luminance": 0.05074
}

Semantic roles & 50–950 ramp

primary
#253F6E
secondary
#A1834E
accent
#A84FD9
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080D
muted
#7A7B7E

Preview Lab

Preview with #253F6E

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

Preview Lab → · Contrast checker → · Palette generator →

#253F6E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva