#252E60#252E60

#252E60 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.2% C 0.089 H 272.8°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#252E60
RGBrgb(37, 46, 96)
HSLhsl(231, 44%, 26%)
HSVhsv(231, 61%, 38%)
CMYKcmyk(61.5%, 52.1%, 0%, 62.4%)
CIE-LABlab(20.80, 13.13, -31.04)
CIE-LCHlch(20.80, 33.70, 292.92°)
OKLaboklab(32.21% 0.0043 -0.0886)
OKLCHoklch(32.21% 0.089 272.8)
XYZxyz(3.8506, 3.1915, 11.4772)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252E60 #605725
analogous
#254B60 #252E60 #392560
triadic
#252E60 #60252E #2E6025
tetradic
#252E60 #60254B #605725 #256039
square
#252E60 #60254B #605725 #256039
split-complementary
#252E60 #603925 #4B6025
monochromatic
#090B16 #141934 #252E60 #36438C #4758B8

Accessibility & contrast

On white

12.82
#252E60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#252E60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252E60
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252E60#FFFFFF#000000##FFFFFF
##252E601.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153562
Deuteranopia (green-blind)
#0C305F
Tritanopia (blue-blind)
#013942
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #252e60;
/* rgb */ color: rgb(37, 46, 96);
/* oklch */ color: oklch(32.2% 0.089 272.8);
Tailwind
colors: {
  custom: {
    50: '#65668d',
    500: '#252e60',
    950: '#000000',
  },
}
SCSS
$custom: #252e60;
$custom-light: #65668d;
$custom-dark: #000000;
JSON
{
  "hex": "#252e60",
  "rgb": {
    "r": 37,
    "g": 46,
    "b": 96
  },
  "hsl": {
    "h": 230.847,
    "s": 44.361,
    "l": 26.078
  },
  "oklch": {
    "l": 0.32215,
    "c": 0.08874,
    "h": 272.8
  },
  "luminance": 0.03192
}

Semantic roles & 50–950 ramp

primary
#252E60
secondary
#93894D
accent
#C054D4
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06050C
muted
#7A7A7D

Preview Lab

Preview with #252E60

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

Preview Lab → · Contrast checker → · Palette generator →

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