#0D314F#0D314F

#0D314F is a dark, moderate cyan. Relative luminance 0.028; OKLCH L 30.5% C 0.068 H 247.7°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#0D314F
RGBrgb(13, 49, 79)
HSLhsl(207, 72%, 18%)
HSVhsv(207, 84%, 31%)
CMYKcmyk(83.5%, 38%, 0%, 69%)
CIE-LABlab(19.42, -0.57, -22.01)
CIE-LCHlch(19.42, 22.02, 268.51°)
OKLaboklab(30.46% -0.0257 -0.0626)
OKLCHoklch(30.46% 0.068 247.7)
XYZxyz(2.6750, 2.8464, 7.8040)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D314F #4F2B0D
analogous
#0D4F4C #0D314F #0D104F
triadic
#0D314F #4F0D31 #314F0D
tetradic
#0D314F #4C0D4F #4F2B0D #104F0D
square
#0D314F #4C0D4F #4F2B0D #104F0D
split-complementary
#0D314F #4F0D10 #4F4C0D
monochromatic
#04101A #04101A #0D314F #165284 #1E72B8

Accessibility & contrast

On white

13.38
#0D314F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#0D314F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D314F
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D314F#FFFFFF#000000##FFFFFF
##0D314F1.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233250
Deuteranopia (green-blind)
#1A2C4E
Tritanopia (blue-blind)
#00383C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #0d314f;
/* rgb */ color: rgb(13, 49, 79);
/* oklch */ color: oklch(30.5% 0.068 247.7);
Tailwind
colors: {
  custom: {
    50: '#576880',
    500: '#0d314f',
    950: '#000000',
  },
}
SCSS
$custom: #0d314f;
$custom-light: #576880;
$custom-dark: #000000;
JSON
{
  "hex": "#0d314f",
  "rgb": {
    "r": 13,
    "g": 49,
    "b": 79
  },
  "hsl": {
    "h": 207.273,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.30455,
    "c": 0.06766,
    "h": 247.7
  },
  "luminance": 0.02847
}

Semantic roles & 50–950 ramp

primary
#0D314F
secondary
#8A582E
accent
#8C39EE
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #0D314F

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

Preview Lab → · Contrast checker → · Palette generator →

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