#0D264C#0D264C

#0D264C is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.3% C 0.077 H 258.8°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#0D264C
RGBrgb(13, 38, 76)
HSLhsl(216, 71%, 17%)
HSVhsv(216, 83%, 30%)
CMYKcmyk(82.9%, 50%, 0%, 70.2%)
CIE-LABlab(15.45, 6.12, -26.30)
CIE-LCHlch(15.45, 27.00, 283.10°)
OKLaboklab(27.3% -0.015 -0.0754)
OKLCHoklch(27.3% 0.077 258.8)
XYZxyz(2.1631, 1.9934, 7.1068)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D264C #4C330D
analogous
#0D464C #0D264C #130D4C
triadic
#0D264C #4C0D26 #264C0D
tetradic
#0D264C #4C0D46 #4C330D #0D4C13
square
#0D264C #4C0D46 #4C330D #0D4C13
split-complementary
#0D264C #4C130D #464C0D
monochromatic
#040D1A #040D1A #0D264C #164080 #1F5AB5

Accessibility & contrast

On white

15.01
#0D264C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#0D264C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D264C
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D264C#FFFFFF#000000##FFFFFF
##0D264C1.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122A4D
Deuteranopia (green-blind)
#06244B
Tritanopia (blue-blind)
#002F35
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0d264c;
/* rgb */ color: rgb(13, 38, 76);
/* oklch */ color: oklch(27.3% 0.077 258.8);
Tailwind
colors: {
  custom: {
    50: '#565f7e',
    500: '#0d264c',
    950: '#000000',
  },
}
SCSS
$custom: #0d264c;
$custom-light: #565f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#0d264c",
  "rgb": {
    "r": 13,
    "g": 38,
    "b": 76
  },
  "hsl": {
    "h": 216.19,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.27299,
    "c": 0.07685,
    "h": 258.8
  },
  "luminance": 0.01994
}

Semantic roles & 50–950 ramp

primary
#0D264C
secondary
#87642E
accent
#A63AEE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03040A
muted
#78797C

Preview Lab

Preview with #0D264C

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

Preview Lab → · Contrast checker → · Palette generator →

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