#25368E#25368E

#25368E is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.8% C 0.147 H 269.6°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#25368E
RGBrgb(37, 54, 142)
HSLhsl(230, 59%, 35%)
HSVhsv(230, 74%, 56%)
CMYKcmyk(73.9%, 62%, 0%, 44.3%)
CIE-LABlab(26.69, 25.21, -50.77)
CIE-LCHlch(26.69, 56.68, 296.41°)
OKLaboklab(37.78% -0.0011 -0.1466)
OKLCHoklch(37.78% 0.147 269.6)
XYZxyz(6.9629, 4.9839, 26.1810)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25368E #8E7D25
analogous
#256A8E #25368E #49258E
triadic
#25368E #8E2536 #368E25
tetradic
#25368E #8E256A #8E7D25 #258E49
square
#25368E #8E256A #8E7D25 #258E49
split-complementary
#25368E #8E4925 #6A8E25
monochromatic
#0C112D #18245D #25368E #3248BF #5A6DD4

Accessibility & contrast

On white

10.52
#25368E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#25368E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25368E
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25368E#FFFFFF#000000##FFFFFF
##25368E1.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#003A8C
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #25368e;
/* rgb */ color: rgb(37, 54, 142);
/* oklch */ color: oklch(37.8% 0.147 269.6);
Tailwind
colors: {
  custom: {
    50: '#6f6cb0',
    500: '#25368e',
    950: '#000000',
  },
}
SCSS
$custom: #25368e;
$custom-light: #6f6cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#25368e",
  "rgb": {
    "r": 37,
    "g": 54,
    "b": 142
  },
  "hsl": {
    "h": 230.286,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.3778,
    "c": 0.14655,
    "h": 269.6
  },
  "luminance": 0.04985
}

Semantic roles & 50–950 ramp

primary
#25368E
secondary
#B9A956
accent
#C946E2
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080711
muted
#7B7A80

Preview Lab

Preview with #25368E

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

Preview Lab → · Contrast checker → · Palette generator →

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