#25336E#25336E

#25336E is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.4% C 0.104 H 270.1°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#25336E
RGBrgb(37, 51, 110)
HSLhsl(228, 50%, 29%)
HSVhsv(228, 66%, 43%)
CMYKcmyk(66.4%, 53.6%, 0%, 56.9%)
CIE-LABlab(23.29, 14.94, -36.12)
CIE-LCHlch(23.29, 39.08, 292.48°)
OKLaboklab(34.43% 0.0002 -0.1035)
OKLCHoklch(34.43% 0.104 270.1)
XYZxyz(4.7603, 3.8863, 15.2481)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25336E #6E6025
analogous
#25586E #25336E #3C256E
triadic
#25336E #6E2533 #336E25
tetradic
#25336E #6E2558 #6E6025 #256E3C
square
#25336E #6E2558 #6E6025 #256E3C
split-complementary
#25336E #6E3C25 #586E25
monochromatic
#080B17 #161E40 #25336E #34489C #4B62C2

Accessibility & contrast

On white

11.82
#25336E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#25336E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25336E
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25336E#FFFFFF#000000##FFFFFF
##25336E1.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113B70
Deuteranopia (green-blind)
#00346D
Tritanopia (blue-blind)
#00414B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #25336e;
/* rgb */ color: rgb(37, 51, 110);
/* oklch */ color: oklch(34.4% 0.104 270.1);
Tailwind
colors: {
  custom: {
    50: '#686a98',
    500: '#25336e',
    950: '#000000',
  },
}
SCSS
$custom: #25336e;
$custom-light: #686a98;
$custom-dark: #000000;
JSON
{
  "hex": "#25336e",
  "rgb": {
    "r": 37,
    "g": 51,
    "b": 110
  },
  "hsl": {
    "h": 228.493,
    "s": 49.66,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3443,
    "c": 0.10351,
    "h": 270.1
  },
  "luminance": 0.03887
}

Semantic roles & 50–950 ramp

primary
#25336E
secondary
#A1914E
accent
#BF4FD9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #25336E

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

Preview Lab → · Contrast checker → · Palette generator →

#25336E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva