#0C2D4B#0C2D4B

#0C2D4B is a dark, moderate cyan. Relative luminance 0.025; OKLCH L 29.1% C 0.067 H 249.5°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#0C2D4B
RGBrgb(12, 45, 75)
HSLhsl(209, 72%, 17%)
HSVhsv(209, 84%, 29%)
CMYKcmyk(84%, 40%, 0%, 70.6%)
CIE-LABlab(17.75, 0.39, -21.96)
CIE-LCHlch(17.75, 21.96, 271.01°)
OKLaboklab(29.05% -0.0233 -0.0625)
OKLCHoklch(29.05% 0.067 249.5)
XYZxyz(2.3595, 2.4627, 7.0062)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2D4B #4B2A0C
analogous
#0C4B4A #0C2D4B #0C0E4B
triadic
#0C2D4B #4B0C2D #2D4B0C
tetradic
#0C2D4B #4A0C4B #4B2A0C #0E4B0C
square
#0C2D4B #4A0C4B #4B2A0C #0E4B0C
split-complementary
#0C2D4B #4B0C0E #4B4A0C
monochromatic
#04101A #04101A #0C2D4B #144D80 #1D6CB5

Accessibility & contrast

On white

14.07
#0C2D4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#0C2D4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2D4B
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2D4B#FFFFFF#000000##FFFFFF
##0C2D4B1.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2F4C
Deuteranopia (green-blind)
#16294A
Tritanopia (blue-blind)
#003438
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0c2d4b;
/* rgb */ color: rgb(12, 45, 75);
/* oklch */ color: oklch(29.1% 0.067 249.5);
Tailwind
colors: {
  custom: {
    50: '#56657d',
    500: '#0c2d4b',
    950: '#000000',
  },
}
SCSS
$custom: #0c2d4b;
$custom-light: #56657d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2d4b",
  "rgb": {
    "r": 12,
    "g": 45,
    "b": 75
  },
  "hsl": {
    "h": 208.571,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.29055,
    "c": 0.06671,
    "h": 249.5
  },
  "luminance": 0.02463
}

Semantic roles & 50–950 ramp

primary
#0C2D4B
secondary
#87572C
accent
#9039EF
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#030509
muted
#787A7B

Preview Lab

Preview with #0C2D4B

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

Preview Lab → · Contrast checker → · Palette generator →

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