#252B94#252B94

#252B94 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.168 H 272.0°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#252B94
RGBrgb(37, 43, 148)
HSLhsl(237, 60%, 36%)
HSVhsv(237, 75%, 58%)
CMYKcmyk(75%, 70.9%, 0%, 42%)
CIE-LABlab(24.51, 34.68, -58.04)
CIE-LCHlch(24.51, 67.61, 300.86°)
OKLaboklab(36.35% 0.0059 -0.1679)
OKLCHoklch(36.35% 0.168 272)
XYZxyz(6.9703, 4.2585, 28.4658)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252B94 #948E25
analogous
#256394 #252B94 #572594
triadic
#252B94 #94252B #2B9425
tetradic
#252B94 #942563 #948E25 #259457
square
#252B94 #942563 #948E25 #259457
split-complementary
#252B94 #945725 #639425
monochromatic
#0D0F32 #191D63 #252B94 #3139C5 #5D63D6

Accessibility & contrast

On white

11.34
#252B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#252B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252B94
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252B94#FFFFFF#000000##FFFFFF
##252B941.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004097
Deuteranopia (green-blind)
#003592
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #252b94;
/* rgb */ color: rgb(37, 43, 148);
/* oklch */ color: oklch(36.4% 0.168 272.0);
Tailwind
colors: {
  custom: {
    50: '#7265b4',
    500: '#252b94',
    950: '#000000',
  },
}
SCSS
$custom: #252b94;
$custom-light: #7265b4;
$custom-dark: #000000;
JSON
{
  "hex": "#252b94",
  "rgb": {
    "r": 37,
    "g": 43,
    "b": 148
  },
  "hsl": {
    "h": 236.757,
    "s": 60,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36355,
    "c": 0.16802,
    "h": 272
  },
  "luminance": 0.04259
}

Semantic roles & 50–950 ramp

primary
#252B94
secondary
#BBB659
accent
#DB45E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #252B94

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

Preview Lab → · Contrast checker → · Palette generator →

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