#253EAF#253EAF

#253EAF is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.3% C 0.181 H 267.8°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#253EAF
RGBrgb(37, 62, 175)
HSLhsl(229, 65%, 42%)
HSVhsv(229, 79%, 69%)
CMYKcmyk(78.9%, 64.6%, 0%, 31.4%)
CIE-LABlab(31.65, 32.37, -62.67)
CIE-LCHlch(31.65, 70.54, 297.31°)
OKLaboklab(42.34% -0.0071 -0.1813)
OKLCHoklch(42.34% 0.181 267.8)
XYZxyz(10.2207, 6.9325, 41.3486)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253EAF #AF9625
analogous
#2583AF #253EAF #5125AF
triadic
#253EAF #AF253E #3EAF25
tetradic
#253EAF #AF2583 #AF9625 #25AF51
square
#253EAF #AF2583 #AF9625 #25AF51
split-complementary
#253EAF #AF5125 #83AF25
monochromatic
#101A4A #1A2C7C #253EAF #3C57D6 #6E83E0

Accessibility & contrast

On white

8.80
#253EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#253EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253EAF
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253EAF#FFFFFF#000000##FFFFFF
##253EAF1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0044AD
Tritanopia (blue-blind)
#005C71
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #253eaf;
/* rgb */ color: rgb(37, 62, 175);
/* oklch */ color: oklch(42.3% 0.181 267.8);
Tailwind
colors: {
  custom: {
    50: '#7773c8',
    500: '#253eaf',
    950: '#000000',
  },
}
SCSS
$custom: #253eaf;
$custom-light: #7773c8;
$custom-dark: #000000;
JSON
{
  "hex": "#253eaf",
  "rgb": {
    "r": 37,
    "g": 62,
    "b": 175
  },
  "hsl": {
    "h": 229.13,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42344,
    "c": 0.18149,
    "h": 267.8
  },
  "luminance": 0.06934
}

Semantic roles & 50–950 ramp

primary
#253EAF
secondary
#C7B669
accent
#CA40E8
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #253EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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