#0C274B#0C274B

#0C274B is a dark, moderate cyan. Relative luminance 0.020; OKLCH L 27.4% C 0.074 H 256.8°. Best body text is #FFFFFF at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#0C274B
RGBrgb(12, 39, 75)
HSLhsl(214, 72%, 17%)
HSVhsv(214, 84%, 29%)
CMYKcmyk(84%, 48%, 0%, 70.6%)
CIE-LABlab(15.68, 4.78, -25.25)
CIE-LCHlch(15.68, 25.70, 280.72°)
OKLaboklab(27.44% -0.017 -0.0723)
OKLCHoklch(27.44% 0.074 256.8)
XYZxyz(2.1467, 2.0370, 6.9353)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C274B #4B300C
analogous
#0C474B #0C274B #110C4B
triadic
#0C274B #4B0C27 #274B0C
tetradic
#0C274B #4B0C47 #4B300C #0C4B11
square
#0C274B #4B0C47 #4B300C #0C4B11
split-complementary
#0C274B #4B110C #474B0C
monochromatic
#040E1A #040E1A #0C274B #144280 #1D5EB5

Accessibility & contrast

On white

14.92
#0C274B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#0C274B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C274B
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C274B#FFFFFF#000000##FFFFFF
##0C274B1.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152A4C
Deuteranopia (green-blind)
#09244A
Tritanopia (blue-blind)
#002F35
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0c274b;
/* rgb */ color: rgb(12, 39, 75);
/* oklch */ color: oklch(27.4% 0.074 256.8);
Tailwind
colors: {
  custom: {
    50: '#56607d',
    500: '#0c274b',
    950: '#000000',
  },
}
SCSS
$custom: #0c274b;
$custom-light: #56607d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c274b",
  "rgb": {
    "r": 12,
    "g": 39,
    "b": 75
  },
  "hsl": {
    "h": 214.286,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.27441,
    "c": 0.07426,
    "h": 256.8
  },
  "luminance": 0.02037
}

Semantic roles & 50–950 ramp

primary
#0C274B
secondary
#87602C
accent
#A139EF
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03040A
muted
#78797C

Preview Lab

Preview with #0C274B

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

Preview Lab → · Contrast checker → · Palette generator →

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