#252A94#252A94

#252A94 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.2% C 0.169 H 272.2°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#252A94
RGBrgb(37, 42, 148)
HSLhsl(237, 60%, 36%)
HSVhsv(237, 75%, 58%)
CMYKcmyk(75%, 71.6%, 0%, 42%)
CIE-LABlab(24.28, 35.31, -58.42)
CIE-LCHlch(24.28, 68.26, 301.15°)
OKLaboklab(36.19% 0.0064 -0.169)
OKLCHoklch(36.19% 0.169 272.2)
XYZxyz(6.9344, 4.1866, 28.4539)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252A94 #948F25
analogous
#256294 #252A94 #582594
triadic
#252A94 #94252A #2A9425
tetradic
#252A94 #942562 #948F25 #259458
square
#252A94 #942562 #948F25 #259458
split-complementary
#252A94 #945825 #629425
monochromatic
#0D0E32 #191C63 #252A94 #3138C5 #5D62D6

Accessibility & contrast

On white

11.43
#252A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#252A94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252A94
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252A94#FFFFFF#000000##FFFFFF
##252A941.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F97
Deuteranopia (green-blind)
#003492
Tritanopia (blue-blind)
#00475C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #252a94;
/* rgb */ color: rgb(37, 42, 148);
/* oklch */ color: oklch(36.2% 0.169 272.2);
Tailwind
colors: {
  custom: {
    50: '#7264b4',
    500: '#252a94',
    950: '#000000',
  },
}
SCSS
$custom: #252a94;
$custom-light: #7264b4;
$custom-dark: #000000;
JSON
{
  "hex": "#252a94",
  "rgb": {
    "r": 37,
    "g": 42,
    "b": 148
  },
  "hsl": {
    "h": 237.297,
    "s": 60,
    "l": 36.275
  },
  "oklch": {
    "l": 0.3619,
    "c": 0.16914,
    "h": 272.2
  },
  "luminance": 0.04187
}

Semantic roles & 50–950 ramp

primary
#252A94
secondary
#BBB759
accent
#DC45E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #252A94

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

Preview Lab → · Contrast checker → · Palette generator →

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