#252A70#252A70

#252A70 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.7% C 0.119 H 274.6°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#252A70
RGBrgb(37, 42, 112)
HSLhsl(236, 50%, 29%)
HSVhsv(236, 67%, 44%)
CMYKcmyk(67%, 62.5%, 0%, 56.1%)
CIE-LABlab(20.90, 22.03, -41.28)
CIE-LCHlch(20.90, 46.79, 298.09°)
OKLaboklab(32.69% 0.0095 -0.1188)
OKLCHoklch(32.69% 0.119 274.6)
XYZxyz(4.5146, 3.2187, 15.7095)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252A70 #706B25
analogous
#255070 #252A70 #462570
triadic
#252A70 #70252A #2A7025
tetradic
#252A70 #702550 #706B25 #257046
square
#252A70 #702550 #706B25 #257046
split-complementary
#252A70 #704625 #507025
monochromatic
#080917 #161942 #252A70 #343B9E #4C54C4

Accessibility & contrast

On white

12.78
#252A70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#252A70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252A70
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252A70#FFFFFF#000000##FFFFFF
##252A701.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003672
Deuteranopia (green-blind)
#002F6F
Tritanopia (blue-blind)
#003B48
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #252a70;
/* rgb */ color: rgb(37, 42, 112);
/* oklch */ color: oklch(32.7% 0.119 274.6);
Tailwind
colors: {
  custom: {
    50: '#69639a',
    500: '#252a70',
    950: '#000000',
  },
}
SCSS
$custom: #252a70;
$custom-light: #69639a;
$custom-dark: #000000;
JSON
{
  "hex": "#252a70",
  "rgb": {
    "r": 37,
    "g": 42,
    "b": 112
  },
  "hsl": {
    "h": 236,
    "s": 50.336,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32689,
    "c": 0.11919,
    "h": 274.6
  },
  "luminance": 0.03219
}

Semantic roles & 50–950 ramp

primary
#252A70
secondary
#A39D4E
accent
#D14EDA
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #252A70

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

Preview Lab → · Contrast checker → · Palette generator →

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