#0C283F#0C283F

#0C283F is a dark, muted cyan. Relative luminance 0.020; OKLCH L 26.8% C 0.055 H 246.6°. Best body text is #FFFFFF at 15.10:1 contrast (WCAG AA passes).

Color values

HEX#0C283F
RGBrgb(12, 40, 63)
HSLhsl(207, 68%, 15%)
HSVhsv(207, 81%, 25%)
CMYKcmyk(81%, 36.5%, 0%, 75.3%)
CIE-LABlab(15.25, -1.23, -17.67)
CIE-LCHlch(15.25, 17.71, 266.03°)
OKLaboklab(26.85% -0.0217 -0.0501)
OKLCHoklch(26.85% 0.055 246.6)
XYZxyz(1.8073, 1.9544, 4.9837)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C283F #3F230C
analogous
#0C3F3D #0C283F #0C0E3F
triadic
#0C283F #3F0C28 #283F0C
tetradic
#0C283F #3D0C3F #3F230C #0E3F0C
square
#0C283F #3D0C3F #3F230C #0E3F0C
split-complementary
#0C283F #3F0C0E #3F3D0C
monochromatic
#05101A #05101A #0C283F #164972 #2069A6

Accessibility & contrast

On white

15.10
#0C283F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#0C283F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C283F
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C283F#FFFFFF#000000##FFFFFF
##0C283F1.0015.101.3915.10
#FFFFFF15.101.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2940
Deuteranopia (green-blind)
#16243F
Tritanopia (blue-blind)
#002E30
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0c283f;
/* rgb */ color: rgb(12, 40, 63);
/* oklch */ color: oklch(26.8% 0.055 246.6);
Tailwind
colors: {
  custom: {
    50: '#536174',
    500: '#0c283f',
    950: '#000000',
  },
}
SCSS
$custom: #0c283f;
$custom-light: #536174;
$custom-dark: #000000;
JSON
{
  "hex": "#0c283f",
  "rgb": {
    "r": 12,
    "g": 40,
    "b": 63
  },
  "hsl": {
    "h": 207.059,
    "s": 68,
    "l": 14.706
  },
  "oklch": {
    "l": 0.26847,
    "c": 0.05455,
    "h": 246.6
  },
  "luminance": 0.01955
}

Semantic roles & 50–950 ramp

primary
#0C283F
secondary
#7B502C
accent
#8B3DEB
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#030508
muted
#78797B

Preview Lab

Preview with #0C283F

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

Preview Lab → · Contrast checker → · Palette generator →

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