#0D2958#0D2958

#0D2958 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.0% C 0.092 H 260.2°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#0D2958
RGBrgb(13, 41, 88)
HSLhsl(218, 74%, 20%)
HSVhsv(218, 85%, 35%)
CMYKcmyk(85.2%, 53.4%, 0%, 65.5%)
CIE-LABlab(17.35, 9.20, -31.35)
CIE-LCHlch(17.35, 32.67, 286.35°)
OKLaboklab(29.05% -0.0156 -0.0902)
OKLCHoklch(29.05% 0.092 260.2)
XYZxyz(2.7197, 2.3757, 9.5458)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2958 #583C0D
analogous
#0D4F58 #0D2958 #170D58
triadic
#0D2958 #580D29 #29580D
tetradic
#0D2958 #580D4F #583C0D #0D5817
square
#0D2958 #580D4F #583C0D #0D5817
split-complementary
#0D2958 #58170D #4F580D
monochromatic
#040C1B #051023 #0D2958 #15428D #1D5BC3

Accessibility & contrast

On white

14.24
#0D2958 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#0D2958 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2958
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2958#FFFFFF#000000##FFFFFF
##0D29581.0014.241.4814.24
#FFFFFF14.241.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2E5A
Deuteranopia (green-blind)
#002757
Tritanopia (blue-blind)
#00343C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0d2958;
/* rgb */ color: rgb(13, 41, 88);
/* oklch */ color: oklch(29.0% 0.092 260.2);
Tailwind
colors: {
  custom: {
    50: '#5a6287',
    500: '#0d2958',
    950: '#000000',
  },
}
SCSS
$custom: #0d2958;
$custom-light: #5a6287;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2958",
  "rgb": {
    "r": 13,
    "g": 41,
    "b": 88
  },
  "hsl": {
    "h": 217.6,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29046,
    "c": 0.09152,
    "h": 260.2
  },
  "luminance": 0.02376
}

Semantic roles & 50–950 ramp

primary
#0D2958
secondary
#936D2E
accent
#AB37F1
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #0D2958

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

Preview Lab → · Contrast checker → · Palette generator →

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