#253F99#253F99

#253F99 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.6% C 0.150 H 267.1°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#253F99
RGBrgb(37, 63, 153)
HSLhsl(227, 61%, 37%)
HSVhsv(227, 76%, 60%)
CMYKcmyk(75.8%, 58.8%, 0%, 40%)
CIE-LABlab(30.03, 23.33, -52.07)
CIE-LCHlch(30.03, 57.06, 294.13°)
OKLaboklab(40.55% -0.0077 -0.1503)
OKLCHoklch(40.55% 0.15 267.1)
XYZxyz(8.2882, 6.2473, 30.8999)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253F99 #997F25
analogous
#257999 #253F99 #452599
triadic
#253F99 #99253F #3F9925
tetradic
#253F99 #992579 #997F25 #259945
square
#253F99 #992579 #997F25 #259945
split-complementary
#253F99 #994525 #799925
monochromatic
#0D1636 #192B68 #253F99 #3153CA #607BD9

Accessibility & contrast

On white

9.33
#253F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#253F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253F99
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253F99#FFFFFF#000000##FFFFFF
##253F991.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9C
Deuteranopia (green-blind)
#004297
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #253f99;
/* rgb */ color: rgb(37, 63, 153);
/* oklch */ color: oklch(40.6% 0.150 267.1);
Tailwind
colors: {
  custom: {
    50: '#7173b8',
    500: '#253f99',
    950: '#000000',
  },
}
SCSS
$custom: #253f99;
$custom-light: #7173b8;
$custom-dark: #000000;
JSON
{
  "hex": "#253f99",
  "rgb": {
    "r": 37,
    "g": 63,
    "b": 153
  },
  "hsl": {
    "h": 226.552,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40554,
    "c": 0.15046,
    "h": 267.1
  },
  "luminance": 0.06248
}

Semantic roles & 50–950 ramp

primary
#253F99
secondary
#BEA85C
accent
#C044E4
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #253F99

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

Preview Lab → · Contrast checker → · Palette generator →

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