#252C70#252C70

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

Color values

HEX#252C70
RGBrgb(37, 44, 112)
HSLhsl(234, 50%, 29%)
HSVhsv(234, 67%, 44%)
CMYKcmyk(67%, 60.7%, 0%, 56.1%)
CIE-LABlab(21.45, 20.64, -40.39)
CIE-LCHlch(21.45, 45.35, 297.06°)
OKLaboklab(33.1% 0.0076 -0.1162)
OKLCHoklch(33.1% 0.116 273.7)
XYZxyz(4.5873, 3.3641, 15.7337)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252C70 #706925
analogous
#255270 #252C70 #442570
triadic
#252C70 #70252C #2C7025
tetradic
#252C70 #702552 #706925 #257044
square
#252C70 #702552 #706925 #257044
split-complementary
#252C70 #704425 #527025
monochromatic
#080917 #161A42 #252C70 #343E9E #4C57C4

Accessibility & contrast

On white

12.55
#252C70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#252C70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252C70
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252C70#FFFFFF#000000##FFFFFF
##252C701.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003772
Deuteranopia (green-blind)
#00306F
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #252c70;
/* rgb */ color: rgb(37, 44, 112);
/* oklch */ color: oklch(33.1% 0.116 273.7);
Tailwind
colors: {
  custom: {
    50: '#69659a',
    500: '#252c70',
    950: '#000000',
  },
}
SCSS
$custom: #252c70;
$custom-light: #69659a;
$custom-dark: #000000;
JSON
{
  "hex": "#252c70",
  "rgb": {
    "r": 37,
    "g": 44,
    "b": 112
  },
  "hsl": {
    "h": 234.4,
    "s": 50.336,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33095,
    "c": 0.11642,
    "h": 273.7
  },
  "luminance": 0.03365
}

Semantic roles & 50–950 ramp

primary
#252C70
secondary
#A39B4E
accent
#CD4EDA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #252C70

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

Preview Lab → · Contrast checker → · Palette generator →

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