#252E6D#252E6D

#252E6D is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.3% C 0.109 H 272.9°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#252E6D
RGBrgb(37, 46, 109)
HSLhsl(233, 49%, 29%)
HSVhsv(233, 66%, 43%)
CMYKcmyk(66.1%, 57.8%, 0%, 57.3%)
CIE-LABlab(21.77, 18.08, -37.93)
CIE-LCHlch(21.77, 42.02, 295.49°)
OKLaboklab(33.26% 0.0055 -0.1089)
OKLCHoklch(33.26% 0.109 272.9)
XYZxyz(4.4993, 3.4511, 14.8940)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252E6D #6D6425
analogous
#25526D #252E6D #40256D
triadic
#252E6D #6D252E #2E6D25
tetradic
#252E6D #6D2552 #6D6425 #256D40
square
#252E6D #6D2552 #6D6425 #256D40
split-complementary
#252E6D #6D4025 #526D25
monochromatic
#080A17 #151B3F #252E6D #35419B #4B5AC2

Accessibility & contrast

On white

12.42
#252E6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#252E6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252E6D
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252E6D#FFFFFF#000000##FFFFFF
##252E6D1.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01376F
Deuteranopia (green-blind)
#00316C
Tritanopia (blue-blind)
#003D48
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #252e6d;
/* rgb */ color: rgb(37, 46, 109);
/* oklch */ color: oklch(33.3% 0.109 272.9);
Tailwind
colors: {
  custom: {
    50: '#686697',
    500: '#252e6d',
    950: '#000000',
  },
}
SCSS
$custom: #252e6d;
$custom-light: #686697;
$custom-dark: #000000;
JSON
{
  "hex": "#252e6d",
  "rgb": {
    "r": 37,
    "g": 46,
    "b": 109
  },
  "hsl": {
    "h": 232.5,
    "s": 49.315,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33257,
    "c": 0.10908,
    "h": 272.9
  },
  "luminance": 0.03451
}

Semantic roles & 50–950 ramp

primary
#252E6D
secondary
#A0964E
accent
#C84FD9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #252E6D

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

Preview Lab → · Contrast checker → · Palette generator →

#252E6D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva