#252E65#252E65

#252E65 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.6% C 0.097 H 272.9°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#252E65
RGBrgb(37, 46, 101)
HSLhsl(232, 46%, 27%)
HSVhsv(232, 63%, 40%)
CMYKcmyk(63.4%, 54.5%, 0%, 60.4%)
CIE-LABlab(21.16, 15.03, -33.73)
CIE-LCHlch(21.16, 36.92, 294.01°)
OKLaboklab(32.61% 0.0049 -0.0966)
OKLCHoklch(32.61% 0.097 272.9)
XYZxyz(4.0881, 3.2866, 12.7283)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252E65 #655C25
analogous
#254E65 #252E65 #3C2565
triadic
#252E65 #65252E #2E6525
tetradic
#252E65 #65254E #655C25 #25653C
square
#252E65 #65254E #655C25 #25653C
split-complementary
#252E65 #653C25 #4E6525
monochromatic
#080A16 #151A38 #252E65 #354292 #4859BC

Accessibility & contrast

On white

12.67
#252E65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#252E65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252E65
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252E65#FFFFFF#000000##FFFFFF
##252E651.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3667
Deuteranopia (green-blind)
#023064
Tritanopia (blue-blind)
#003B44
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #252e65;
/* rgb */ color: rgb(37, 46, 101);
/* oklch */ color: oklch(32.6% 0.097 272.9);
Tailwind
colors: {
  custom: {
    50: '#666691',
    500: '#252e65',
    950: '#000000',
  },
}
SCSS
$custom: #252e65;
$custom-light: #666691;
$custom-dark: #000000;
JSON
{
  "hex": "#252e65",
  "rgb": {
    "r": 37,
    "g": 46,
    "b": 101
  },
  "hsl": {
    "h": 231.563,
    "s": 46.377,
    "l": 27.059
  },
  "oklch": {
    "l": 0.32605,
    "c": 0.09668,
    "h": 272.9
  },
  "luminance": 0.03287
}

Semantic roles & 50–950 ramp

primary
#252E65
secondary
#988E4E
accent
#C352D6
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #252E65

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

Preview Lab → · Contrast checker → · Palette generator →

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