#252E95#252E95

#252E95 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.166 H 271.4°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#252E95
RGBrgb(37, 46, 149)
HSLhsl(235, 60%, 36%)
HSVhsv(235, 75%, 58%)
CMYKcmyk(75.2%, 69.1%, 0%, 41.6%)
CIE-LABlab(25.31, 33.13, -57.34)
CIE-LCHlch(25.31, 66.22, 300.02°)
OKLaboklab(36.96% 0.004 -0.1659)
OKLCHoklch(36.96% 0.166 271.4)
XYZxyz(7.1629, 4.5165, 28.9222)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252E95 #958C25
analogous
#256695 #252E95 #542595
triadic
#252E95 #95252E #2E9525
tetradic
#252E95 #952566 #958C25 #259554
square
#252E95 #952566 #958C25 #259554
split-complementary
#252E95 #955425 #669525
monochromatic
#0D1033 #191F64 #252E95 #313DC6 #5E67D7

Accessibility & contrast

On white

11.03
#252E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#252E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252E95
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252E95#FFFFFF#000000##FFFFFF
##252E951.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004198
Deuteranopia (green-blind)
#003793
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #252e95;
/* rgb */ color: rgb(37, 46, 149);
/* oklch */ color: oklch(37.0% 0.166 271.4);
Tailwind
colors: {
  custom: {
    50: '#7267b5',
    500: '#252e95',
    950: '#000000',
  },
}
SCSS
$custom: #252e95;
$custom-light: #7267b5;
$custom-dark: #000000;
JSON
{
  "hex": "#252e95",
  "rgb": {
    "r": 37,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 235.179,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36965,
    "c": 0.16591,
    "h": 271.4
  },
  "luminance": 0.04517
}

Semantic roles & 50–950 ramp

primary
#252E95
secondary
#BCB45A
accent
#D744E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #252E95

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

Preview Lab → · Contrast checker → · Palette generator →

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