#252B67#252B67

#252B67 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.1% C 0.104 H 274.6°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#252B67
RGBrgb(37, 43, 103)
HSLhsl(235, 47%, 27%)
HSVhsv(235, 64%, 40%)
CMYKcmyk(64.1%, 58.3%, 0%, 59.6%)
CIE-LABlab(20.44, 17.92, -36.19)
CIE-LCHlch(20.44, 40.38, 296.34°)
OKLaboklab(32.12% 0.0084 -0.1038)
OKLCHoklch(32.12% 0.104 274.6)
XYZxyz(4.0742, 3.1000, 13.2130)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252B67 #676125
analogous
#254C67 #252B67 #402567
triadic
#252B67 #67252B #2B6725
tetradic
#252B67 #67254C #676125 #256740
square
#252B67 #67254C #676125 #256740
split-complementary
#252B67 #674025 #4C6725
monochromatic
#080917 #15183A #252B67 #353E94 #4953BE

Accessibility & contrast

On white

12.96
#252B67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#252B67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252B67
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252B67#FFFFFF#000000##FFFFFF
##252B671.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023469
Deuteranopia (green-blind)
#002E66
Tritanopia (blue-blind)
#003944
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #252b67;
/* rgb */ color: rgb(37, 43, 103);
/* oklch */ color: oklch(32.1% 0.104 274.6);
Tailwind
colors: {
  custom: {
    50: '#676493',
    500: '#252b67',
    950: '#000000',
  },
}
SCSS
$custom: #252b67;
$custom-light: #676493;
$custom-dark: #000000;
JSON
{
  "hex": "#252b67",
  "rgb": {
    "r": 37,
    "g": 43,
    "b": 103
  },
  "hsl": {
    "h": 234.545,
    "s": 47.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.32115,
    "c": 0.10418,
    "h": 274.6
  },
  "luminance": 0.031
}

Semantic roles & 50–950 ramp

primary
#252B67
secondary
#9A934E
accent
#CB51D7
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#06050D
muted
#7A797E

Preview Lab

Preview with #252B67

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

Preview Lab → · Contrast checker → · Palette generator →

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