#252E83#252E83

#252E83 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.2% C 0.141 H 272.2°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#252E83
RGBrgb(37, 46, 131)
HSLhsl(234, 56%, 33%)
HSVhsv(234, 72%, 51%)
CMYKcmyk(71.8%, 64.9%, 0%, 48.6%)
CIE-LABlab(23.62, 26.46, -48.92)
CIE-LCHlch(23.62, 55.62, 298.41°)
OKLaboklab(35.22% 0.0054 -0.1412)
OKLCHoklch(35.22% 0.141 272.2)
XYZxyz(5.8353, 3.9854, 21.9301)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252E83 #837A25
analogous
#255D83 #252E83 #4B2583
triadic
#252E83 #83252E #2E8325
tetradic
#252E83 #83255D #837A25 #25834B
square
#252E83 #83255D #837A25 #25834B
split-complementary
#252E83 #834B25 #5D8325
monochromatic
#0A0C24 #181D53 #252E83 #323FB3 #5460CF

Accessibility & contrast

On white

11.68
#252E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#252E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252E83
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252E83#FFFFFF#000000##FFFFFF
##252E831.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D86
Deuteranopia (green-blind)
#003481
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #252e83;
/* rgb */ color: rgb(37, 46, 131);
/* oklch */ color: oklch(35.2% 0.141 272.2);
Tailwind
colors: {
  custom: {
    50: '#6d66a8',
    500: '#252e83',
    950: '#000000',
  },
}
SCSS
$custom: #252e83;
$custom-light: #6d66a8;
$custom-dark: #000000;
JSON
{
  "hex": "#252e83",
  "rgb": {
    "r": 37,
    "g": 46,
    "b": 131
  },
  "hsl": {
    "h": 234.255,
    "s": 55.952,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35216,
    "c": 0.14131,
    "h": 272.2
  },
  "luminance": 0.03986
}

Semantic roles & 50–950 ramp

primary
#252E83
secondary
#B3AA51
accent
#D149DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #252E83

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

Preview Lab → · Contrast checker → · Palette generator →

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