#0D3058#0D3058

#0D3058 is a dark, moderate cyan. Relative luminance 0.029; OKLCH L 30.8% C 0.082 H 254.4°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#0D3058
RGBrgb(13, 48, 88)
HSLhsl(212, 74%, 20%)
HSVhsv(212, 85%, 35%)
CMYKcmyk(85.2%, 45.5%, 0%, 65.5%)
CIE-LABlab(19.65, 4.05, -27.65)
CIE-LCHlch(19.65, 27.94, 278.33°)
OKLaboklab(30.83% -0.0221 -0.0791)
OKLCHoklch(30.83% 0.082 254.4)
XYZxyz(2.9837, 2.9037, 9.6338)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D3058 #58350D
analogous
#0D5658 #0D3058 #100D58
triadic
#0D3058 #580D30 #30580D
tetradic
#0D3058 #580D56 #58350D #0D5810
square
#0D3058 #580D56 #58350D #0D5810
split-complementary
#0D3058 #58100D #56580D
monochromatic
#040F1B #051323 #0D3058 #154D8D #1D6AC3

Accessibility & contrast

On white

13.28
#0D3058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#0D3058 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D3058
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D3058#FFFFFF#000000##FFFFFF
##0D30581.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C335A
Deuteranopia (green-blind)
#0F2C57
Tritanopia (blue-blind)
#00393F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0d3058;
/* rgb */ color: rgb(13, 48, 88);
/* oklch */ color: oklch(30.8% 0.082 254.4);
Tailwind
colors: {
  custom: {
    50: '#596787',
    500: '#0d3058',
    950: '#000000',
  },
}
SCSS
$custom: #0d3058;
$custom-light: #596787;
$custom-dark: #000000;
JSON
{
  "hex": "#0d3058",
  "rgb": {
    "r": 13,
    "g": 48,
    "b": 88
  },
  "hsl": {
    "h": 212,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30828,
    "c": 0.08216,
    "h": 254.4
  },
  "luminance": 0.02904
}

Semantic roles & 50–950 ramp

primary
#0D3058
secondary
#93642E
accent
#9A37F1
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #0D3058

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

Preview Lab → · Contrast checker → · Palette generator →

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