#252F95#252F95

#252F95 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.1% C 0.165 H 271.2°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#252F95
RGBrgb(37, 47, 149)
HSLhsl(235, 60%, 36%)
HSVhsv(235, 75%, 58%)
CMYKcmyk(75.2%, 68.5%, 0%, 41.6%)
CIE-LABlab(25.55, 32.49, -56.95)
CIE-LCHlch(25.55, 65.56, 299.71°)
OKLaboklab(37.14% 0.0034 -0.1647)
OKLCHoklch(37.14% 0.165 271.2)
XYZxyz(7.2024, 4.5955, 28.9354)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252F95 #958B25
analogous
#256795 #252F95 #532595
triadic
#252F95 #95252F #2F9525
tetradic
#252F95 #952567 #958B25 #259553
square
#252F95 #952567 #958B25 #259553
split-complementary
#252F95 #955325 #679525
monochromatic
#0D1033 #192064 #252F95 #313EC6 #5E68D7

Accessibility & contrast

On white

10.94
#252F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#252F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252F95
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252F95#FFFFFF#000000##FFFFFF
##252F951.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004298
Deuteranopia (green-blind)
#003793
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #252f95;
/* rgb */ color: rgb(37, 47, 149);
/* oklch */ color: oklch(37.1% 0.165 271.2);
Tailwind
colors: {
  custom: {
    50: '#7268b5',
    500: '#252f95',
    950: '#000000',
  },
}
SCSS
$custom: #252f95;
$custom-light: #7268b5;
$custom-dark: #000000;
JSON
{
  "hex": "#252f95",
  "rgb": {
    "r": 37,
    "g": 47,
    "b": 149
  },
  "hsl": {
    "h": 234.643,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37139,
    "c": 0.16474,
    "h": 271.2
  },
  "luminance": 0.04596
}

Semantic roles & 50–950 ramp

primary
#252F95
secondary
#BCB35A
accent
#D544E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #252F95

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

Preview Lab → · Contrast checker → · Palette generator →

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