#252D70#252D70

#252D70 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.3% C 0.115 H 273.3°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#252D70
RGBrgb(37, 45, 112)
HSLhsl(234, 50%, 29%)
HSVhsv(234, 67%, 44%)
CMYKcmyk(67%, 59.8%, 0%, 56.1%)
CIE-LABlab(21.72, 19.94, -39.94)
CIE-LCHlch(21.72, 44.64, 296.53°)
OKLaboklab(33.3% 0.0066 -0.1148)
OKLCHoklch(33.3% 0.115 273.3)
XYZxyz(4.6250, 3.4395, 15.7463)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252D70 #706825
analogous
#255370 #252D70 #432570
triadic
#252D70 #70252D #2D7025
tetradic
#252D70 #702553 #706825 #257043
square
#252D70 #702553 #706825 #257043
split-complementary
#252D70 #704325 #537025
monochromatic
#080917 #161B42 #252D70 #343F9E #4C58C4

Accessibility & contrast

On white

12.44
#252D70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #252D70
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252D70#FFFFFF#000000##FFFFFF
##252D701.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003772
Deuteranopia (green-blind)
#00316F
Tritanopia (blue-blind)
#003D49
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #252d70;
/* rgb */ color: rgb(37, 45, 112);
/* oklch */ color: oklch(33.3% 0.115 273.3);
Tailwind
colors: {
  custom: {
    50: '#69659a',
    500: '#252d70',
    950: '#000000',
  },
}
SCSS
$custom: #252d70;
$custom-light: #69659a;
$custom-dark: #000000;
JSON
{
  "hex": "#252d70",
  "rgb": {
    "r": 37,
    "g": 45,
    "b": 112
  },
  "hsl": {
    "h": 233.6,
    "s": 50.336,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33302,
    "c": 0.11503,
    "h": 273.3
  },
  "luminance": 0.0344
}

Semantic roles & 50–950 ramp

primary
#252D70
secondary
#A39A4E
accent
#CB4EDA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #252D70

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

Preview Lab → · Contrast checker → · Palette generator →

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