#253F98#253F98

#253F98 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.149 H 267.0°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#253F98
RGBrgb(37, 63, 152)
HSLhsl(226, 61%, 37%)
HSVhsv(226, 76%, 60%)
CMYKcmyk(75.7%, 58.6%, 0%, 40.4%)
CIE-LABlab(29.95, 22.94, -51.59)
CIE-LCHlch(29.95, 56.46, 293.97°)
OKLaboklab(40.47% -0.0078 -0.1489)
OKLCHoklch(40.47% 0.149 267)
XYZxyz(8.2060, 6.2144, 30.4667)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253F98 #987E25
analogous
#257998 #253F98 #452598
triadic
#253F98 #98253F #3F9825
tetradic
#253F98 #982579 #987E25 #259845
square
#253F98 #982579 #987E25 #259845
split-complementary
#253F98 #984525 #799825
monochromatic
#0D1636 #192B67 #253F98 #3153C9 #5F7BD8

Accessibility & contrast

On white

9.36
#253F98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#253F98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253F98
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253F98#FFFFFF#000000##FFFFFF
##253F981.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #253f98;
/* rgb */ color: rgb(37, 63, 152);
/* oklch */ color: oklch(40.5% 0.149 267.0);
Tailwind
colors: {
  custom: {
    50: '#7173b7',
    500: '#253f98',
    950: '#000000',
  },
}
SCSS
$custom: #253f98;
$custom-light: #7173b7;
$custom-dark: #000000;
JSON
{
  "hex": "#253f98",
  "rgb": {
    "r": 37,
    "g": 63,
    "b": 152
  },
  "hsl": {
    "h": 226.435,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40468,
    "c": 0.14906,
    "h": 267
  },
  "luminance": 0.06215
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #253F98

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

Preview Lab → · Contrast checker → · Palette generator →

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