#0D264D#0D264D

#0D264D is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.4% C 0.078 H 259.1°. Best body text is #FFFFFF at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#0D264D
RGBrgb(13, 38, 77)
HSLhsl(217, 71%, 18%)
HSVhsv(217, 83%, 30%)
CMYKcmyk(83.1%, 50.6%, 0%, 69.8%)
CIE-LABlab(15.53, 6.57, -26.86)
CIE-LCHlch(15.53, 27.65, 283.74°)
OKLaboklab(27.38% -0.0148 -0.077)
OKLCHoklch(27.38% 0.078 259.1)
XYZxyz(2.1982, 2.0074, 7.2913)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D264D #4D340D
analogous
#0D464D #0D264D #140D4D
triadic
#0D264D #4D0D26 #264D0D
tetradic
#0D264D #4D0D46 #4D340D #0D4D14
square
#0D264D #4D0D46 #4D340D #0D4D14
split-complementary
#0D264D #4D140D #464D0D
monochromatic
#040D1A #040D1A #0D264D #164081 #1F5AB6

Accessibility & contrast

On white

14.98
#0D264D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D264D
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D264D#FFFFFF#000000##FFFFFF
##0D264D1.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112A4E
Deuteranopia (green-blind)
#04244C
Tritanopia (blue-blind)
#002F35
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0d264d;
/* rgb */ color: rgb(13, 38, 77);
/* oklch */ color: oklch(27.4% 0.078 259.1);
Tailwind
colors: {
  custom: {
    50: '#575f7f',
    500: '#0d264d',
    950: '#000000',
  },
}
SCSS
$custom: #0d264d;
$custom-light: #575f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#0d264d",
  "rgb": {
    "r": 13,
    "g": 38,
    "b": 77
  },
  "hsl": {
    "h": 216.563,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.2738,
    "c": 0.07844,
    "h": 259.1
  },
  "luminance": 0.02008
}

Semantic roles & 50–950 ramp

primary
#0D264D
secondary
#88652E
accent
#A83AEE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03040A
muted
#78797C

Preview Lab

Preview with #0D264D

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

Preview Lab → · Contrast checker → · Palette generator →

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