#253B7C#253B7C

#253B7C is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.3% C 0.114 H 266.8°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#253B7C
RGBrgb(37, 59, 124)
HSLhsl(225, 54%, 32%)
HSVhsv(225, 70%, 49%)
CMYKcmyk(70.2%, 52.4%, 0%, 51.4%)
CIE-LABlab(26.67, 14.78, -39.58)
CIE-LCHlch(26.67, 42.25, 290.48°)
OKLaboklab(37.31% -0.0064 -0.1136)
OKLCHoklch(37.31% 0.114 266.8)
XYZxyz(5.9637, 4.9759, 19.7110)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253B7C #7C6625
analogous
#25677C #253B7C #3B257C
triadic
#253B7C #7C253B #3B7C25
tetradic
#253B7C #7C2567 #7C6625 #257C3B
square
#253B7C #7C2567 #7C6625 #257C3B
split-complementary
#253B7C #7C3B25 #677C25
monochromatic
#090E1E #17254D #253B7C #3351AB #506FCB

Accessibility & contrast

On white

10.53
#253B7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#253B7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253B7C
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253B7C#FFFFFF#000000##FFFFFF
##253B7C1.0010.532.0010.53
#FFFFFF10.531.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15437E
Deuteranopia (green-blind)
#003B7B
Tritanopia (blue-blind)
#004A55
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #253b7c;
/* rgb */ color: rgb(37, 59, 124);
/* oklch */ color: oklch(37.3% 0.114 266.8);
Tailwind
colors: {
  custom: {
    50: '#6b70a2',
    500: '#253b7c',
    950: '#000000',
  },
}
SCSS
$custom: #253b7c;
$custom-light: #6b70a2;
$custom-dark: #000000;
JSON
{
  "hex": "#253b7c",
  "rgb": {
    "r": 37,
    "g": 59,
    "b": 124
  },
  "hsl": {
    "h": 224.828,
    "s": 54.037,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37314,
    "c": 0.11376,
    "h": 266.8
  },
  "luminance": 0.04976
}

Semantic roles & 50–950 ramp

primary
#253B7C
secondary
#AE964F
accent
#B84ADD
background
#F6F6FA
surface
#ECECF3
border
#C7C7CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #253B7C

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

Preview Lab → · Contrast checker → · Palette generator →

#253B7C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva