#253F6F#253F6F

#253F6F is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.3% C 0.089 H 261.6°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#253F6F
RGBrgb(37, 63, 111)
HSLhsl(219, 50%, 29%)
HSVhsv(219, 67%, 44%)
CMYKcmyk(66.7%, 43.2%, 0%, 56.5%)
CIE-LABlab(27.01, 6.95, -30.81)
CIE-LCHlch(27.01, 31.58, 282.72°)
OKLaboklab(37.29% -0.0129 -0.0877)
OKLCHoklch(37.29% 0.089 261.6)
XYZxyz(5.4087, 5.0955, 15.7343)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253F6F #6F5525
analogous
#25646F #253F6F #30256F
triadic
#253F6F #6F253F #3F6F25
tetradic
#253F6F #6F2564 #6F5525 #256F30
square
#253F6F #6F2564 #6F5525 #256F30
split-complementary
#253F6F #6F3025 #646F25
monochromatic
#080D17 #162541 #253F6F #34599D #4B75C3

Accessibility & contrast

On white

10.40
#253F6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#253F6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253F6F
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253F6F#FFFFFF#000000##FFFFFF
##253F6F1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294471
Deuteranopia (green-blind)
#1E3D6E
Tritanopia (blue-blind)
#004A51
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #253f6f;
/* rgb */ color: rgb(37, 63, 111);
/* oklch */ color: oklch(37.3% 0.089 261.6);
Tailwind
colors: {
  custom: {
    50: '#687398',
    500: '#253f6f',
    950: '#000000',
  },
}
SCSS
$custom: #253f6f;
$custom-light: #687398;
$custom-dark: #000000;
JSON
{
  "hex": "#253f6f",
  "rgb": {
    "r": 37,
    "g": 63,
    "b": 111
  },
  "hsl": {
    "h": 218.919,
    "s": 50,
    "l": 29.02
  },
  "oklch": {
    "l": 0.37293,
    "c": 0.08868,
    "h": 261.6
  },
  "luminance": 0.05096
}

Semantic roles & 50–950 ramp

primary
#253F6F
secondary
#A2844E
accent
#A94EDA
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #253F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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