#253F9C#253F9C

#253F9C is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.8% C 0.155 H 267.2°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#253F9C
RGBrgb(37, 63, 156)
HSLhsl(227, 62%, 38%)
HSVhsv(227, 76%, 61%)
CMYKcmyk(76.3%, 59.6%, 0%, 38.8%)
CIE-LABlab(30.27, 24.48, -53.50)
CIE-LCHlch(30.27, 58.83, 294.59°)
OKLaboklab(40.81% -0.0076 -0.1544)
OKLCHoklch(40.81% 0.155 267.2)
XYZxyz(8.5391, 6.3477, 32.2212)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253F9C #9C8225
analogous
#257A9C #253F9C #47259C
triadic
#253F9C #9C253F #3F9C25
tetradic
#253F9C #9C257A #9C8225 #259C47
square
#253F9C #9C257A #9C8225 #259C47
split-complementary
#253F9C #9C4725 #7A9C25
monochromatic
#0E1739 #192B6B #253F9C #3153CD #627CDA

Accessibility & contrast

On white

9.25
#253F9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#253F9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253F9C
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253F9C#FFFFFF#000000##FFFFFF
##253F9C1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9F
Deuteranopia (green-blind)
#00429A
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #253f9c;
/* rgb */ color: rgb(37, 63, 156);
/* oklch */ color: oklch(40.8% 0.155 267.2);
Tailwind
colors: {
  custom: {
    50: '#7273ba',
    500: '#253f9c',
    950: '#000000',
  },
}
SCSS
$custom: #253f9c;
$custom-light: #7273ba;
$custom-dark: #000000;
JSON
{
  "hex": "#253f9c",
  "rgb": {
    "r": 37,
    "g": 63,
    "b": 156
  },
  "hsl": {
    "h": 226.891,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40814,
    "c": 0.15463,
    "h": 267.2
  },
  "luminance": 0.06349
}

Semantic roles & 50–950 ramp

primary
#253F9C
secondary
#BFAA5E
accent
#C143E5
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #253F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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