#0D264F#0D264F

#0D264F is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.5% C 0.082 H 259.8°. Best body text is #FFFFFF at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#0D264F
RGBrgb(13, 38, 79)
HSLhsl(217, 72%, 18%)
HSVhsv(217, 84%, 31%)
CMYKcmyk(83.5%, 51.9%, 0%, 69%)
CIE-LABlab(15.68, 7.46, -27.98)
CIE-LCHlch(15.68, 28.96, 284.92°)
OKLaboklab(27.54% -0.0144 -0.0803)
OKLCHoklch(27.54% 0.082 259.8)
XYZxyz(2.2699, 2.0360, 7.6690)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D264F #4F360D
analogous
#0D474F #0D264F #150D4F
triadic
#0D264F #4F0D26 #264F0D
tetradic
#0D264F #4F0D47 #4F360D #0D4F15
square
#0D264F #4F0D47 #4F360D #0D4F15
split-complementary
#0D264F #4F150D #474F0D
monochromatic
#040D1A #040D1A #0D264F #163F84 #1E59B8

Accessibility & contrast

On white

14.92
#0D264F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#0D264F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D264F
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D264F#FFFFFF#000000##FFFFFF
##0D264F1.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102A51
Deuteranopia (green-blind)
#01244E
Tritanopia (blue-blind)
#003036
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0d264f;
/* rgb */ color: rgb(13, 38, 79);
/* oklch */ color: oklch(27.5% 0.082 259.8);
Tailwind
colors: {
  custom: {
    50: '#575f81',
    500: '#0d264f',
    950: '#000000',
  },
}
SCSS
$custom: #0d264f;
$custom-light: #575f81;
$custom-dark: #000000;
JSON
{
  "hex": "#0d264f",
  "rgb": {
    "r": 13,
    "g": 38,
    "b": 79
  },
  "hsl": {
    "h": 217.273,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.27543,
    "c": 0.08161,
    "h": 259.8
  },
  "luminance": 0.02036
}

Semantic roles & 50–950 ramp

primary
#0D264F
secondary
#8A672E
accent
#AA39EE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #0D264F

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

Preview Lab → · Contrast checker → · Palette generator →

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