#253E90#253E90

#253E90 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.6% C 0.139 H 267.0°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#253E90
RGBrgb(37, 62, 144)
HSLhsl(226, 59%, 35%)
HSVhsv(226, 74%, 56%)
CMYKcmyk(74.3%, 56.9%, 0%, 43.5%)
CIE-LABlab(29.03, 20.52, -48.18)
CIE-LCHlch(29.03, 52.37, 293.06°)
OKLaboklab(39.58% -0.0074 -0.1388)
OKLCHoklch(39.58% 0.139 267)
XYZxyz(7.5179, 5.8514, 27.1134)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253E90 #907725
analogous
#257390 #253E90 #412590
triadic
#253E90 #90253E #3E9025
tetradic
#253E90 #902573 #907725 #259041
square
#253E90 #902573 #907725 #259041
split-complementary
#253E90 #904125 #739025
monochromatic
#0C142F #18295F #253E90 #3253C1 #5B77D5

Accessibility & contrast

On white

9.68
#253E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#253E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253E90
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253E90#FFFFFF#000000##FFFFFF
##253E901.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #253e90;
/* rgb */ color: rgb(37, 62, 144);
/* oklch */ color: oklch(39.6% 0.139 267.0);
Tailwind
colors: {
  custom: {
    50: '#6f72b1',
    500: '#253e90',
    950: '#000000',
  },
}
SCSS
$custom: #253e90;
$custom-light: #6f72b1;
$custom-dark: #000000;
JSON
{
  "hex": "#253e90",
  "rgb": {
    "r": 37,
    "g": 62,
    "b": 144
  },
  "hsl": {
    "h": 225.981,
    "s": 59.116,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39583,
    "c": 0.13904,
    "h": 267
  },
  "luminance": 0.05852
}

Semantic roles & 50–950 ramp

primary
#253E90
secondary
#B9A357
accent
#BE45E2
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #253E90

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

Preview Lab → · Contrast checker → · Palette generator →

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