#253F70#253F70

#253F70 is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.4% C 0.090 H 261.9°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#253F70
RGBrgb(37, 63, 112)
HSLhsl(219, 50%, 29%)
HSVhsv(219, 67%, 44%)
CMYKcmyk(67%, 43.7%, 0%, 56.1%)
CIE-LABlab(27.07, 7.34, -31.34)
CIE-LCHlch(27.07, 32.19, 283.18°)
OKLaboklab(37.36% -0.0127 -0.0893)
OKLCHoklch(37.36% 0.09 261.9)
XYZxyz(5.4641, 5.1177, 16.0259)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253F70 #705625
analogous
#256570 #253F70 #312570
triadic
#253F70 #70253F #3F7025
tetradic
#253F70 #702565 #705625 #257031
square
#253F70 #702565 #705625 #257031
split-complementary
#253F70 #703125 #657025
monochromatic
#080D17 #162542 #253F70 #34599E #4C75C4

Accessibility & contrast

On white

10.38
#253F70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253F70
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253F70#FFFFFF#000000##FFFFFF
##253F701.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294472
Deuteranopia (green-blind)
#1E3D6F
Tritanopia (blue-blind)
#004A52
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #253f70;
/* rgb */ color: rgb(37, 63, 112);
/* oklch */ color: oklch(37.4% 0.090 261.9);
Tailwind
colors: {
  custom: {
    50: '#687399',
    500: '#253f70',
    950: '#000000',
  },
}
SCSS
$custom: #253f70;
$custom-light: #687399;
$custom-dark: #000000;
JSON
{
  "hex": "#253f70",
  "rgb": {
    "r": 37,
    "g": 63,
    "b": 112
  },
  "hsl": {
    "h": 219.2,
    "s": 50.336,
    "l": 29.216
  },
  "oklch": {
    "l": 0.37361,
    "c": 0.09021,
    "h": 261.9
  },
  "luminance": 0.05118
}

Semantic roles & 50–950 ramp

primary
#253F70
secondary
#A3854E
accent
#A94EDA
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #253F70

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

Preview Lab → · Contrast checker → · Palette generator →

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