#252C83#252C83

#252C83 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.8% C 0.144 H 272.8°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#252C83
RGBrgb(37, 44, 131)
HSLhsl(236, 56%, 33%)
HSVhsv(236, 72%, 51%)
CMYKcmyk(71.8%, 66.4%, 0%, 48.6%)
CIE-LABlab(23.11, 27.80, -49.76)
CIE-LCHlch(23.11, 57.00, 299.20°)
OKLaboklab(34.84% 0.0069 -0.1437)
OKLCHoklch(34.84% 0.144 272.8)
XYZxyz(5.7590, 3.8328, 21.9046)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252C83 #837C25
analogous
#255B83 #252C83 #4D2583
triadic
#252C83 #83252C #2C8325
tetradic
#252C83 #83255B #837C25 #25834D
square
#252C83 #83255B #837C25 #25834D
split-complementary
#252C83 #834D25 #5B8325
monochromatic
#0A0C24 #181C53 #252C83 #323CB3 #545DCF

Accessibility & contrast

On white

11.89
#252C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#252C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252C83
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252C83#FFFFFF#000000##FFFFFF
##252C831.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B86
Deuteranopia (green-blind)
#003381
Tritanopia (blue-blind)
#004353
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #252c83;
/* rgb */ color: rgb(37, 44, 131);
/* oklch */ color: oklch(34.8% 0.144 272.8);
Tailwind
colors: {
  custom: {
    50: '#6d65a8',
    500: '#252c83',
    950: '#000000',
  },
}
SCSS
$custom: #252c83;
$custom-light: #6d65a8;
$custom-dark: #000000;
JSON
{
  "hex": "#252c83",
  "rgb": {
    "r": 37,
    "g": 44,
    "b": 131
  },
  "hsl": {
    "h": 235.532,
    "s": 55.952,
    "l": 32.941
  },
  "oklch": {
    "l": 0.3484,
    "c": 0.14385,
    "h": 272.8
  },
  "luminance": 0.03833
}

Semantic roles & 50–950 ramp

primary
#252C83
secondary
#B3AC51
accent
#D449DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #252C83

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

Preview Lab → · Contrast checker → · Palette generator →

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