#0C2B4B#0C2B4B

#0C2B4B is a dark, moderate cyan. Relative luminance 0.023; OKLCH L 28.5% C 0.069 H 252.2°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#0C2B4B
RGBrgb(12, 43, 75)
HSLhsl(210, 72%, 17%)
HSVhsv(210, 84%, 29%)
CMYKcmyk(84%, 42.7%, 0%, 70.6%)
CIE-LABlab(17.05, 1.83, -23.06)
CIE-LCHlch(17.05, 23.13, 274.54°)
OKLaboklab(28.51% -0.0212 -0.0658)
OKLCHoklch(28.51% 0.069 252.2)
XYZxyz(2.2850, 2.3137, 6.9814)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2B4B #4B2C0C
analogous
#0C4B4B #0C2B4B #0C0C4B
triadic
#0C2B4B #4B0C2B #2B4B0C
tetradic
#0C2B4B #4B0C4B #4B2C0C #0C4B0C
square
#0C2B4B #4B0C4B #4B2C0C #0C4B0C
split-complementary
#0C2B4B #4B0C0C #4B4B0C
monochromatic
#040F1A #040F1A #0C2B4B #144980 #1D67B5

Accessibility & contrast

On white

14.36
#0C2B4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#0C2B4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2B4B
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2B4B#FFFFFF#000000##FFFFFF
##0C2B4B1.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2D4C
Deuteranopia (green-blind)
#12274A
Tritanopia (blue-blind)
#003337
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0c2b4b;
/* rgb */ color: rgb(12, 43, 75);
/* oklch */ color: oklch(28.5% 0.069 252.2);
Tailwind
colors: {
  custom: {
    50: '#56637d',
    500: '#0c2b4b',
    950: '#000000',
  },
}
SCSS
$custom: #0c2b4b;
$custom-light: #56637d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2b4b",
  "rgb": {
    "r": 12,
    "g": 43,
    "b": 75
  },
  "hsl": {
    "h": 210.476,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.2851,
    "c": 0.06909,
    "h": 252.2
  },
  "luminance": 0.02314
}

Semantic roles & 50–950 ramp

primary
#0C2B4B
secondary
#875A2C
accent
#9539EF
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#030509
muted
#78797B

Preview Lab

Preview with #0C2B4B

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

Preview Lab → · Contrast checker → · Palette generator →

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