#252F70#252F70

#252F70 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.7% C 0.112 H 272.3°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#252F70
RGBrgb(37, 47, 112)
HSLhsl(232, 50%, 29%)
HSVhsv(232, 67%, 44%)
CMYKcmyk(67%, 58%, 0%, 56.1%)
CIE-LABlab(22.29, 18.53, -39.02)
CIE-LCHlch(22.29, 43.20, 295.40°)
OKLaboklab(33.72% 0.0046 -0.1121)
OKLCHoklch(33.72% 0.112 272.3)
XYZxyz(4.7031, 3.5958, 15.7723)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252F70 #706625
analogous
#255570 #252F70 #412570
triadic
#252F70 #70252F #2F7025
tetradic
#252F70 #702555 #706625 #257041
square
#252F70 #702555 #706625 #257041
split-complementary
#252F70 #704125 #557025
monochromatic
#080A17 #161C42 #252F70 #34429E #4C5CC4

Accessibility & contrast

On white

12.21
#252F70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#252F70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252F70
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252F70#FFFFFF#000000##FFFFFF
##252F701.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003972
Deuteranopia (green-blind)
#00326F
Tritanopia (blue-blind)
#003E4A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #252f70;
/* rgb */ color: rgb(37, 47, 112);
/* oklch */ color: oklch(33.7% 0.112 272.3);
Tailwind
colors: {
  custom: {
    50: '#69679a',
    500: '#252f70',
    950: '#000000',
  },
}
SCSS
$custom: #252f70;
$custom-light: #69679a;
$custom-dark: #000000;
JSON
{
  "hex": "#252f70",
  "rgb": {
    "r": 37,
    "g": 47,
    "b": 112
  },
  "hsl": {
    "h": 232,
    "s": 50.336,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33722,
    "c": 0.11222,
    "h": 272.3
  },
  "luminance": 0.03596
}

Semantic roles & 50–950 ramp

primary
#252F70
secondary
#A3984E
accent
#C74EDA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #252F70

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

Preview Lab → · Contrast checker → · Palette generator →

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