#252E9C#252E9C

#252E9C is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.7% C 0.175 H 271.0°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#252E9C
RGBrgb(37, 46, 156)
HSLhsl(235, 62%, 38%)
HSVhsv(235, 76%, 61%)
CMYKcmyk(76.3%, 70.5%, 0%, 38.8%)
CIE-LABlab(26.00, 35.67, -60.49)
CIE-LCHlch(26.00, 70.23, 300.53°)
OKLaboklab(37.67% 0.0032 -0.1751)
OKLCHoklch(37.67% 0.175 271)
XYZxyz(7.7387, 4.7468, 31.9544)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252E9C #9C9325
analogous
#25699C #252E9C #57259C
triadic
#252E9C #9C252E #2E9C25
tetradic
#252E9C #9C2569 #9C9325 #259C57
square
#252E9C #9C2569 #9C9325 #259C57
split-complementary
#252E9C #9C5725 #699C25
monochromatic
#0E1139 #191F6B #252E9C #313DCD #626BDA

Accessibility & contrast

On white

10.77
#252E9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#252E9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252E9C
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252E9C#FFFFFF#000000##FFFFFF
##252E9C1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439F
Deuteranopia (green-blind)
#00389A
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #252e9c;
/* rgb */ color: rgb(37, 46, 156);
/* oklch */ color: oklch(37.7% 0.175 271.0);
Tailwind
colors: {
  custom: {
    50: '#7367ba',
    500: '#252e9c',
    950: '#000000',
  },
}
SCSS
$custom: #252e9c;
$custom-light: #7367ba;
$custom-dark: #000000;
JSON
{
  "hex": "#252e9c",
  "rgb": {
    "r": 37,
    "g": 46,
    "b": 156
  },
  "hsl": {
    "h": 235.462,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37674,
    "c": 0.1751,
    "h": 271
  },
  "luminance": 0.04748
}

Semantic roles & 50–950 ramp

primary
#252E9C
secondary
#BFB85E
accent
#D943E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #252E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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