#252F69#252F69

#252F69 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.1% C 0.101 H 272.3°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#252F69
RGBrgb(37, 47, 105)
HSLhsl(231, 48%, 28%)
HSVhsv(231, 65%, 41%)
CMYKcmyk(64.8%, 55.2%, 0%, 58.8%)
CIE-LABlab(21.75, 15.85, -35.38)
CIE-LCHlch(21.75, 38.76, 294.13°)
OKLaboklab(33.15% 0.0041 -0.1014)
OKLCHoklch(33.15% 0.101 272.3)
XYZxyz(4.3284, 3.4459, 13.7989)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252F69 #695F25
analogous
#255169 #252F69 #3D2569
triadic
#252F69 #69252F #2F6925
tetradic
#252F69 #692551 #695F25 #25693D
square
#252F69 #692551 #695F25 #25693D
split-complementary
#252F69 #693D25 #516925
monochromatic
#080A17 #151B3C #252F69 #354396 #495BBF

Accessibility & contrast

On white

12.43
#252F69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #252F69
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252F69#FFFFFF#000000##FFFFFF
##252F691.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C376B
Deuteranopia (green-blind)
#003168
Tritanopia (blue-blind)
#003C47
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #252f69;
/* rgb */ color: rgb(37, 47, 105);
/* oklch */ color: oklch(33.1% 0.101 272.3);
Tailwind
colors: {
  custom: {
    50: '#676794',
    500: '#252f69',
    950: '#000000',
  },
}
SCSS
$custom: #252f69;
$custom-light: #676794;
$custom-dark: #000000;
JSON
{
  "hex": "#252f69",
  "rgb": {
    "r": 37,
    "g": 47,
    "b": 105
  },
  "hsl": {
    "h": 231.176,
    "s": 47.887,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33145,
    "c": 0.10148,
    "h": 272.3
  },
  "luminance": 0.03446
}

Semantic roles & 50–950 ramp

primary
#252F69
secondary
#9C914E
accent
#C450D7
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #252F69

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

Preview Lab → · Contrast checker → · Palette generator →

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