#252A68#252A68

#252A68 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 32.0% C 0.107 H 275.1°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#252A68
RGBrgb(37, 42, 104)
HSLhsl(236, 48%, 28%)
HSVhsv(236, 64%, 41%)
CMYKcmyk(64.4%, 59.6%, 0%, 59.2%)
CIE-LABlab(20.24, 19.00, -37.17)
CIE-LCHlch(20.24, 41.75, 297.08°)
OKLaboklab(31.99% 0.0095 -0.1067)
OKLCHoklch(31.99% 0.107 275.1)
XYZxyz(4.0888, 3.0484, 13.4670)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252A68 #686325
analogous
#254C68 #252A68 #412568
triadic
#252A68 #68252A #2A6825
tetradic
#252A68 #68254C #686325 #256841
square
#252A68 #68254C #686325 #256841
split-complementary
#252A68 #684125 #4C6825
monochromatic
#080917 #15183B #252A68 #353C95 #4952BE

Accessibility & contrast

On white

13.05
#252A68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#252A68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252A68
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252A68#FFFFFF#000000##FFFFFF
##252A681.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346A
Deuteranopia (green-blind)
#002E67
Tritanopia (blue-blind)
#003944
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #252a68;
/* rgb */ color: rgb(37, 42, 104);
/* oklch */ color: oklch(32.0% 0.107 275.1);
Tailwind
colors: {
  custom: {
    50: '#676394',
    500: '#252a68',
    950: '#000000',
  },
}
SCSS
$custom: #252a68;
$custom-light: #676394;
$custom-dark: #000000;
JSON
{
  "hex": "#252a68",
  "rgb": {
    "r": 37,
    "g": 42,
    "b": 104
  },
  "hsl": {
    "h": 235.522,
    "s": 47.518,
    "l": 27.647
  },
  "oklch": {
    "l": 0.31988,
    "c": 0.10715,
    "h": 275.1
  },
  "luminance": 0.03049
}

Semantic roles & 50–950 ramp

primary
#252A68
secondary
#9B954E
accent
#CD51D7
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#06050D
muted
#7A797E

Preview Lab

Preview with #252A68

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

Preview Lab → · Contrast checker → · Palette generator →

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