#252F75#252F75

#252F75 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.1% C 0.120 H 272.3°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#252F75
RGBrgb(37, 47, 117)
HSLhsl(233, 52%, 30%)
HSVhsv(233, 68%, 46%)
CMYKcmyk(68.4%, 59.8%, 0%, 54.1%)
CIE-LABlab(22.69, 20.45, -41.57)
CIE-LCHlch(22.69, 46.33, 296.19°)
OKLaboklab(34.15% 0.0047 -0.1196)
OKLCHoklch(34.15% 0.12 272.3)
XYZxyz(4.9893, 3.7103, 17.2794)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252F75 #756B25
analogous
#255775 #252F75 #432575
triadic
#252F75 #75252F #2F7525
tetradic
#252F75 #752557 #756B25 #257543
square
#252F75 #752557 #756B25 #257543
split-complementary
#252F75 #754325 #577525
monochromatic
#080A18 #161C47 #252F75 #3442A3 #4E5DC7

Accessibility & contrast

On white

12.05
#252F75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#252F75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252F75
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252F75#FFFFFF#000000##FFFFFF
##252F751.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A77
Deuteranopia (green-blind)
#003374
Tritanopia (blue-blind)
#00404D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #252f75;
/* rgb */ color: rgb(37, 47, 117);
/* oklch */ color: oklch(34.1% 0.120 272.3);
Tailwind
colors: {
  custom: {
    50: '#6a679d',
    500: '#252f75',
    950: '#000000',
  },
}
SCSS
$custom: #252f75;
$custom-light: #6a679d;
$custom-dark: #000000;
JSON
{
  "hex": "#252f75",
  "rgb": {
    "r": 37,
    "g": 47,
    "b": 117
  },
  "hsl": {
    "h": 232.5,
    "s": 51.948,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34149,
    "c": 0.11972,
    "h": 272.3
  },
  "luminance": 0.03711
}

Semantic roles & 50–950 ramp

primary
#252F75
secondary
#A89C4E
accent
#CA4CDB
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #252F75

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

Preview Lab → · Contrast checker → · Palette generator →

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