#252E70#252E70

#252E70 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.5% C 0.114 H 272.8°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#252E70
RGBrgb(37, 46, 112)
HSLhsl(233, 50%, 29%)
HSVhsv(233, 67%, 44%)
CMYKcmyk(67%, 58.9%, 0%, 56.1%)
CIE-LABlab(22.00, 19.23, -39.48)
CIE-LCHlch(22.00, 43.92, 295.97°)
OKLaboklab(33.51% 0.0056 -0.1135)
OKLCHoklch(33.51% 0.114 272.8)
XYZxyz(4.6636, 3.5168, 15.7591)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252E70 #706725
analogous
#255470 #252E70 #422570
triadic
#252E70 #70252E #2E7025
tetradic
#252E70 #702554 #706725 #257042
square
#252E70 #702554 #706725 #257042
split-complementary
#252E70 #704225 #547025
monochromatic
#080917 #161B42 #252E70 #34419E #4C5AC4

Accessibility & contrast

On white

12.33
#252E70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#252E70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252E70
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252E70#FFFFFF#000000##FFFFFF
##252E701.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #252e70;
/* rgb */ color: rgb(37, 46, 112);
/* oklch */ color: oklch(33.5% 0.114 272.8);
Tailwind
colors: {
  custom: {
    50: '#69669a',
    500: '#252e70',
    950: '#000000',
  },
}
SCSS
$custom: #252e70;
$custom-light: #69669a;
$custom-dark: #000000;
JSON
{
  "hex": "#252e70",
  "rgb": {
    "r": 37,
    "g": 46,
    "b": 112
  },
  "hsl": {
    "h": 232.8,
    "s": 50.336,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33511,
    "c": 0.11363,
    "h": 272.8
  },
  "luminance": 0.03517
}

Semantic roles & 50–950 ramp

primary
#252E70
secondary
#A3994E
accent
#C94EDA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #252E70

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

Preview Lab → · Contrast checker → · Palette generator →

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