#252A67#252A67

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

Color values

HEX#252A67
RGBrgb(37, 42, 103)
HSLhsl(235, 47%, 27%)
HSVhsv(235, 64%, 40%)
CMYKcmyk(64.1%, 59.2%, 0%, 59.6%)
CIE-LABlab(20.16, 18.62, -36.65)
CIE-LCHlch(20.16, 41.11, 296.94°)
OKLaboklab(31.9% 0.0095 -0.1052)
OKLCHoklch(31.9% 0.106 275.1)
XYZxyz(4.0383, 3.0282, 13.2010)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252A67 #676225
analogous
#254B67 #252A67 #412567
triadic
#252A67 #67252A #2A6725
tetradic
#252A67 #67254B #676225 #256741
square
#252A67 #67254B #676225 #256741
split-complementary
#252A67 #674125 #4B6725
monochromatic
#080917 #15183A #252A67 #353C94 #4952BE

Accessibility & contrast

On white

13.08
#252A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #252A67
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252A67#FFFFFF#000000##FFFFFF
##252A671.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003469
Deuteranopia (green-blind)
#002E66
Tritanopia (blue-blind)
#003844
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #252a67;
/* rgb */ color: rgb(37, 42, 103);
/* oklch */ color: oklch(31.9% 0.106 275.1);
Tailwind
colors: {
  custom: {
    50: '#676393',
    500: '#252a67',
    950: '#000000',
  },
}
SCSS
$custom: #252a67;
$custom-light: #676393;
$custom-dark: #000000;
JSON
{
  "hex": "#252a67",
  "rgb": {
    "r": 37,
    "g": 42,
    "b": 103
  },
  "hsl": {
    "h": 235.455,
    "s": 47.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.31903,
    "c": 0.10563,
    "h": 275.1
  },
  "luminance": 0.03029
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #252A67

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

Preview Lab → · Contrast checker → · Palette generator →

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