#0C2E4B#0C2E4B

#0C2E4B is a dark, moderate cyan. Relative luminance 0.025; OKLCH L 29.3% C 0.066 H 248.2°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#0C2E4B
RGBrgb(12, 46, 75)
HSLhsl(208, 72%, 17%)
HSVhsv(208, 84%, 29%)
CMYKcmyk(84%, 38.7%, 0%, 70.6%)
CIE-LABlab(18.10, -0.33, -21.40)
CIE-LCHlch(18.10, 21.41, 269.13°)
OKLaboklab(29.33% -0.0244 -0.0609)
OKLCHoklch(29.33% 0.066 248.2)
XYZxyz(2.3981, 2.5399, 7.0191)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2E4B #4B290C
analogous
#0C4B49 #0C2E4B #0C0F4B
triadic
#0C2E4B #4B0C2E #2E4B0C
tetradic
#0C2E4B #490C4B #4B290C #0F4B0C
square
#0C2E4B #490C4B #4B290C #0F4B0C
split-complementary
#0C2E4B #4B0C0F #4B490C
monochromatic
#04101A #04101A #0C2E4B #144E80 #1D6FB5

Accessibility & contrast

On white

13.93
#0C2E4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#0C2E4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2E4B
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2E4B#FFFFFF#000000##FFFFFF
##0C2E4B1.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212F4C
Deuteranopia (green-blind)
#172A4A
Tritanopia (blue-blind)
#003539
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0c2e4b;
/* rgb */ color: rgb(12, 46, 75);
/* oklch */ color: oklch(29.3% 0.066 248.2);
Tailwind
colors: {
  custom: {
    50: '#56667d',
    500: '#0c2e4b',
    950: '#000000',
  },
}
SCSS
$custom: #0c2e4b;
$custom-light: #56667d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2e4b",
  "rgb": {
    "r": 12,
    "g": 46,
    "b": 75
  },
  "hsl": {
    "h": 207.619,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.29329,
    "c": 0.06558,
    "h": 248.2
  },
  "luminance": 0.0254
}

Semantic roles & 50–950 ramp

primary
#0C2E4B
secondary
#87562C
accent
#8D39EF
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#030509
muted
#787A7B

Preview Lab

Preview with #0C2E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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