#253F90#253F90

#253F90 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.8% C 0.138 H 266.6°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#253F90
RGBrgb(37, 63, 144)
HSLhsl(225, 59%, 35%)
HSVhsv(225, 74%, 56%)
CMYKcmyk(74.3%, 56.3%, 0%, 43.5%)
CIE-LABlab(29.31, 19.83, -47.73)
CIE-LCHlch(29.31, 51.68, 292.56°)
OKLaboklab(39.79% -0.0082 -0.1375)
OKLCHoklch(39.79% 0.138 266.6)
XYZxyz(7.5727, 5.9611, 27.1317)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253F90 #907625
analogous
#257490 #253F90 #412590
triadic
#253F90 #90253F #3F9025
tetradic
#253F90 #902574 #907625 #259041
square
#253F90 #902574 #907625 #259041
split-complementary
#253F90 #904125 #749025
monochromatic
#0C142F #182A5F #253F90 #3254C1 #5B78D5

Accessibility & contrast

On white

9.58
#253F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#253F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253F90
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253F90#FFFFFF#000000##FFFFFF
##253F901.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A93
Deuteranopia (green-blind)
#00408E
Tritanopia (blue-blind)
#005361
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #253f90;
/* rgb */ color: rgb(37, 63, 144);
/* oklch */ color: oklch(39.8% 0.138 266.6);
Tailwind
colors: {
  custom: {
    50: '#6f73b1',
    500: '#253f90',
    950: '#000000',
  },
}
SCSS
$custom: #253f90;
$custom-light: #6f73b1;
$custom-dark: #000000;
JSON
{
  "hex": "#253f90",
  "rgb": {
    "r": 37,
    "g": 63,
    "b": 144
  },
  "hsl": {
    "h": 225.421,
    "s": 59.116,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39794,
    "c": 0.13773,
    "h": 266.6
  },
  "luminance": 0.05962
}

Semantic roles & 50–950 ramp

primary
#253F90
secondary
#B9A257
accent
#BC45E2
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #253F90

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

Preview Lab → · Contrast checker → · Palette generator →

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