#253F74#253F74

#253F74 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.6% C 0.096 H 262.9°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#253F74
RGBrgb(37, 63, 116)
HSLhsl(220, 52%, 30%)
HSVhsv(220, 68%, 45%)
CMYKcmyk(68.1%, 45.7%, 0%, 54.5%)
CIE-LABlab(27.32, 8.89, -33.48)
CIE-LCHlch(27.32, 34.63, 284.87°)
OKLaboklab(37.64% -0.0119 -0.0956)
OKLCHoklch(37.64% 0.096 262.9)
XYZxyz(5.6917, 5.2087, 17.2250)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253F74 #745A25
analogous
#256774 #253F74 #322574
triadic
#253F74 #74253F #3F7425
tetradic
#253F74 #742567 #745A25 #257432
square
#253F74 #742567 #745A25 #257432
split-complementary
#253F74 #743225 #677425
monochromatic
#070D17 #162646 #253F74 #3458A2 #4D75C6

Accessibility & contrast

On white

10.29
#253F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#253F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253F74
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253F74#FFFFFF#000000##FFFFFF
##253F741.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264476
Deuteranopia (green-blind)
#193D73
Tritanopia (blue-blind)
#004B53
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #253f74;
/* rgb */ color: rgb(37, 63, 116);
/* oklch */ color: oklch(37.6% 0.096 262.9);
Tailwind
colors: {
  custom: {
    50: '#69739c',
    500: '#253f74',
    950: '#000000',
  },
}
SCSS
$custom: #253f74;
$custom-light: #69739c;
$custom-dark: #000000;
JSON
{
  "hex": "#253f74",
  "rgb": {
    "r": 37,
    "g": 63,
    "b": 116
  },
  "hsl": {
    "h": 220.253,
    "s": 51.634,
    "l": 30
  },
  "oklch": {
    "l": 0.3764,
    "c": 0.0963,
    "h": 262.9
  },
  "luminance": 0.05209
}

Semantic roles & 50–950 ramp

primary
#253F74
secondary
#A78A4E
accent
#AC4DDB
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #253F74

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

Preview Lab → · Contrast checker → · Palette generator →

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