#252A73#252A73

#252A73 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.0% C 0.124 H 274.4°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#252A73
RGBrgb(37, 42, 115)
HSLhsl(236, 51%, 30%)
HSVhsv(236, 68%, 45%)
CMYKcmyk(67.8%, 63.5%, 0%, 54.9%)
CIE-LABlab(21.16, 23.16, -42.79)
CIE-LCHlch(21.16, 48.65, 298.43°)
OKLaboklab(32.96% 0.0095 -0.1232)
OKLCHoklch(32.96% 0.124 274.4)
XYZxyz(4.6844, 3.2866, 16.6039)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252A73 #736E25
analogous
#255173 #252A73 #472573
triadic
#252A73 #73252A #2A7325
tetradic
#252A73 #732551 #736E25 #257347
square
#252A73 #732551 #736E25 #257347
split-complementary
#252A73 #734725 #517325
monochromatic
#070817 #161945 #252A73 #343BA1 #4D54C6

Accessibility & contrast

On white

12.67
#252A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#252A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252A73
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252A73#FFFFFF#000000##FFFFFF
##252A731.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003675
Deuteranopia (green-blind)
#002F72
Tritanopia (blue-blind)
#003C4A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #252a73;
/* rgb */ color: rgb(37, 42, 115);
/* oklch */ color: oklch(33.0% 0.124 274.4);
Tailwind
colors: {
  custom: {
    50: '#6a639c',
    500: '#252a73',
    950: '#000000',
  },
}
SCSS
$custom: #252a73;
$custom-light: #6a639c;
$custom-dark: #000000;
JSON
{
  "hex": "#252a73",
  "rgb": {
    "r": 37,
    "g": 42,
    "b": 115
  },
  "hsl": {
    "h": 236.154,
    "s": 51.316,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3296,
    "c": 0.12361,
    "h": 274.4
  },
  "luminance": 0.03287
}

Semantic roles & 50–950 ramp

primary
#252A73
secondary
#A6A04E
accent
#D24DDB
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #252A73

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

Preview Lab → · Contrast checker → · Palette generator →

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