#252D69#252D69

#252D69 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.7% C 0.104 H 273.5°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#252D69
RGBrgb(37, 45, 105)
HSLhsl(233, 48%, 28%)
HSVhsv(233, 65%, 41%)
CMYKcmyk(64.8%, 57.1%, 0%, 58.8%)
CIE-LABlab(21.17, 17.26, -36.31)
CIE-LCHlch(21.17, 40.21, 295.43°)
OKLaboklab(32.71% 0.0063 -0.1042)
OKLCHoklch(32.71% 0.104 273.5)
XYZxyz(4.2503, 3.2897, 13.7729)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252D69 #696125
analogous
#254F69 #252D69 #3F2569
triadic
#252D69 #69252D #2D6925
tetradic
#252D69 #69254F #696125 #25693F
square
#252D69 #69254F #696125 #25693F
split-complementary
#252D69 #693F25 #4F6925
monochromatic
#080A17 #151A3C #252D69 #354096 #4957BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##252D69#FFFFFF#000000##FFFFFF
##252D691.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)
#05366B
Deuteranopia (green-blind)
#003068
Tritanopia (blue-blind)
#003B46
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #252d69;
/* rgb */ color: rgb(37, 45, 105);
/* oklch */ color: oklch(32.7% 0.104 273.5);
Tailwind
colors: {
  custom: {
    50: '#676594',
    500: '#252d69',
    950: '#000000',
  },
}
SCSS
$custom: #252d69;
$custom-light: #676594;
$custom-dark: #000000;
JSON
{
  "hex": "#252d69",
  "rgb": {
    "r": 37,
    "g": 45,
    "b": 105
  },
  "hsl": {
    "h": 232.941,
    "s": 47.887,
    "l": 27.843
  },
  "oklch": {
    "l": 0.3271,
    "c": 0.10436,
    "h": 273.5
  },
  "luminance": 0.0329
}

Semantic roles & 50–950 ramp

primary
#252D69
secondary
#9C934E
accent
#C850D7
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #252D69

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

Preview Lab → · Contrast checker → · Palette generator →

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