#0D2250#0D2250

#0D2250 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.6% C 0.089 H 263.2°. Best body text is #FFFFFF at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#0D2250
RGBrgb(13, 34, 80)
HSLhsl(221, 72%, 18%)
HSVhsv(221, 84%, 31%)
CMYKcmyk(83.7%, 57.5%, 0%, 68.6%)
CIE-LABlab(14.45, 10.94, -30.64)
CIE-LCHlch(14.45, 32.53, 289.64°)
OKLaboklab(26.63% -0.0105 -0.0882)
OKLCHoklch(26.63% 0.089 263.2)
XYZxyz(2.1855, 1.8086, 7.8218)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2250 #503B0D
analogous
#0D4350 #0D2250 #190D50
triadic
#0D2250 #500D22 #22500D
tetradic
#0D2250 #500D43 #503B0D #0D5019
square
#0D2250 #500D43 #503B0D #0D5019
split-complementary
#0D2250 #50190D #43500D
monochromatic
#040B1A #040C1B #0D2250 #163885 #1E4FB9

Accessibility & contrast

On white

15.42
#0D2250 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#0D2250 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2250
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2250#FFFFFF#000000##FFFFFF
##0D22501.0015.421.3615.42
#FFFFFF15.421.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032852
Deuteranopia (green-blind)
#00224F
Tritanopia (blue-blind)
#002D35
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0d2250;
/* rgb */ color: rgb(13, 34, 80);
/* oklch */ color: oklch(26.6% 0.089 263.2);
Tailwind
colors: {
  custom: {
    50: '#585c81',
    500: '#0d2250',
    950: '#000000',
  },
}
SCSS
$custom: #0d2250;
$custom-light: #585c81;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2250",
  "rgb": {
    "r": 13,
    "g": 34,
    "b": 80
  },
  "hsl": {
    "h": 221.194,
    "s": 72.043,
    "l": 18.235
  },
  "oklch": {
    "l": 0.2663,
    "c": 0.08887,
    "h": 263.2
  },
  "luminance": 0.01809
}

Semantic roles & 50–950 ramp

primary
#0D2250
secondary
#8B6E2E
accent
#B639EF
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #0D2250

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

Preview Lab → · Contrast checker → · Palette generator →

#0D2250 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva