#252F83#252F83

#252F83 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.4% C 0.140 H 271.9°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#252F83
RGBrgb(37, 47, 131)
HSLhsl(234, 56%, 33%)
HSVhsv(234, 72%, 51%)
CMYKcmyk(71.8%, 64.1%, 0%, 48.6%)
CIE-LABlab(23.88, 25.78, -48.49)
CIE-LCHlch(23.88, 54.92, 298.00°)
OKLaboklab(35.41% 0.0046 -0.1399)
OKLCHoklch(35.41% 0.14 271.9)
XYZxyz(5.8748, 4.0645, 21.9432)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252F83 #837925
analogous
#255E83 #252F83 #4A2583
triadic
#252F83 #83252F #2F8325
tetradic
#252F83 #83255E #837925 #25834A
square
#252F83 #83255E #837925 #25834A
split-complementary
#252F83 #834A25 #5E8325
monochromatic
#0A0D24 #181E53 #252F83 #3240B3 #5461CF

Accessibility & contrast

On white

11.58
#252F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#252F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252F83
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252F83#FFFFFF#000000##FFFFFF
##252F831.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #252f83;
/* rgb */ color: rgb(37, 47, 131);
/* oklch */ color: oklch(35.4% 0.140 271.9);
Tailwind
colors: {
  custom: {
    50: '#6d67a8',
    500: '#252f83',
    950: '#000000',
  },
}
SCSS
$custom: #252f83;
$custom-light: #6d67a8;
$custom-dark: #000000;
JSON
{
  "hex": "#252f83",
  "rgb": {
    "r": 37,
    "g": 47,
    "b": 131
  },
  "hsl": {
    "h": 233.617,
    "s": 55.952,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35408,
    "c": 0.14003,
    "h": 271.9
  },
  "luminance": 0.04065
}

Semantic roles & 50–950 ramp

primary
#252F83
secondary
#B3A851
accent
#CF49DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #252F83

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

Preview Lab → · Contrast checker → · Palette generator →

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