#252A50#252A50

#252A50 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.1% C 0.069 H 275.8°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#252A50
RGBrgb(37, 42, 80)
HSLhsl(233, 37%, 23%)
HSVhsv(233, 54%, 31%)
CMYKcmyk(53.7%, 47.5%, 0%, 68.6%)
CIE-LABlab(18.49, 10.03, -24.08)
CIE-LCHlch(18.49, 26.08, 292.61°)
OKLaboklab(30.11% 0.007 -0.0682)
OKLCHoklch(30.11% 0.069 275.8)
XYZxyz(3.0384, 2.6283, 7.9351)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252A50 #504B25
analogous
#253F50 #252A50 #352550
triadic
#252A50 #50252A #2A5025
tetradic
#252A50 #50253F #504B25 #255035
square
#252A50 #50253F #504B25 #255035
split-complementary
#252A50 #503525 #3F5025
monochromatic
#0A0B15 #121426 #252A50 #38407A #4C56A4

Accessibility & contrast

On white

13.77
#252A50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#252A50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252A50
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252A50#FFFFFF#000000##FFFFFF
##252A501.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2F51
Deuteranopia (green-blind)
#172B4F
Tritanopia (blue-blind)
#143239
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #252a50;
/* rgb */ color: rgb(37, 42, 80);
/* oklch */ color: oklch(30.1% 0.069 275.8);
Tailwind
colors: {
  custom: {
    50: '#636381',
    500: '#252a50',
    950: '#000000',
  },
}
SCSS
$custom: #252a50;
$custom-light: #636381;
$custom-dark: #000000;
JSON
{
  "hex": "#252a50",
  "rgb": {
    "r": 37,
    "g": 42,
    "b": 80
  },
  "hsl": {
    "h": 233.023,
    "s": 36.752,
    "l": 22.941
  },
  "oklch": {
    "l": 0.3011,
    "c": 0.0686,
    "h": 275.8
  },
  "luminance": 0.02628
}

Semantic roles & 50–950 ramp

primary
#252A50
secondary
#837D4E
accent
#C05BCD
background
#F6F5F7
surface
#EBEAEE
border
#C6C6C9
text
#05050A
muted
#7A797C

Preview Lab

Preview with #252A50

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

Preview Lab → · Contrast checker → · Palette generator →

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