#25337B#25337B

#25337B is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.5% C 0.123 H 270.5°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#25337B
RGBrgb(37, 51, 123)
HSLhsl(230, 54%, 31%)
HSVhsv(230, 70%, 48%)
CMYKcmyk(69.9%, 58.5%, 0%, 51.8%)
CIE-LABlab(24.29, 19.97, -42.79)
CIE-LCHlch(24.29, 47.22, 295.02°)
OKLaboklab(35.5% 0.0012 -0.1231)
OKLCHoklch(35.5% 0.123 270.5)
XYZxyz(5.5207, 4.1905, 19.2530)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25337B #7B6D25
analogous
#255E7B #25337B #42257B
triadic
#25337B #7B2533 #337B25
tetradic
#25337B #7B255E #7B6D25 #257B42
square
#25337B #7B255E #7B6D25 #257B42
split-complementary
#25337B #7B4225 #5E7B25
monochromatic
#090C1D #171F4C #25337B #3347AA #5064CA

Accessibility & contrast

On white

11.42
#25337B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#25337B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25337B
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25337B#FFFFFF#000000##FFFFFF
##25337B1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7D
Deuteranopia (green-blind)
#00367A
Tritanopia (blue-blind)
#004451
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #25337b;
/* rgb */ color: rgb(37, 51, 123);
/* oklch */ color: oklch(35.5% 0.123 270.5);
Tailwind
colors: {
  custom: {
    50: '#6b6aa2',
    500: '#25337b',
    950: '#000000',
  },
}
SCSS
$custom: #25337b;
$custom-light: #6b6aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#25337b",
  "rgb": {
    "r": 37,
    "g": 51,
    "b": 123
  },
  "hsl": {
    "h": 230.233,
    "s": 53.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35499,
    "c": 0.12315,
    "h": 270.5
  },
  "luminance": 0.04191
}

Semantic roles & 50–950 ramp

primary
#25337B
secondary
#AD9E4F
accent
#C54BDD
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #25337B

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

Preview Lab → · Contrast checker → · Palette generator →

#25337B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva