#252F74#252F74

#252F74 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.1% C 0.118 H 272.3°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#252F74
RGBrgb(37, 47, 116)
HSLhsl(232, 52%, 30%)
HSVhsv(232, 68%, 45%)
CMYKcmyk(68.1%, 59.5%, 0%, 54.5%)
CIE-LABlab(22.61, 20.06, -41.07)
CIE-LCHlch(22.61, 45.71, 296.04°)
OKLaboklab(34.06% 0.0047 -0.1181)
OKLCHoklch(34.06% 0.118 272.3)
XYZxyz(4.9308, 3.6869, 16.9714)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252F74 #746A25
analogous
#255774 #252F74 #422574
triadic
#252F74 #74252F #2F7425
tetradic
#252F74 #742557 #746A25 #257442
square
#252F74 #742557 #746A25 #257442
split-complementary
#252F74 #744225 #577425
monochromatic
#070917 #161C46 #252F74 #3442A2 #4D5CC6

Accessibility & contrast

On white

12.09
#252F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#252F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252F74
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252F74#FFFFFF#000000##FFFFFF
##252F741.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A76
Deuteranopia (green-blind)
#003373
Tritanopia (blue-blind)
#00404C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #252f74;
/* rgb */ color: rgb(37, 47, 116);
/* oklch */ color: oklch(34.1% 0.118 272.3);
Tailwind
colors: {
  custom: {
    50: '#6a679d',
    500: '#252f74',
    950: '#000000',
  },
}
SCSS
$custom: #252f74;
$custom-light: #6a679d;
$custom-dark: #000000;
JSON
{
  "hex": "#252f74",
  "rgb": {
    "r": 37,
    "g": 47,
    "b": 116
  },
  "hsl": {
    "h": 232.405,
    "s": 51.634,
    "l": 30
  },
  "oklch": {
    "l": 0.34063,
    "c": 0.11823,
    "h": 272.3
  },
  "luminance": 0.03687
}

Semantic roles & 50–950 ramp

primary
#252F74
secondary
#A79B4E
accent
#C94DDB
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #252F74

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

Preview Lab → · Contrast checker → · Palette generator →

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