#0F2C4C#0F2C4C

#0F2C4C is a dark, moderate cyan. Relative luminance 0.024; OKLCH L 29.0% C 0.068 H 253.1°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#0F2C4C
RGBrgb(15, 44, 76)
HSLhsl(211, 67%, 18%)
HSVhsv(211, 80%, 30%)
CMYKcmyk(80.3%, 42.1%, 0%, 70.2%)
CIE-LABlab(17.57, 2.01, -22.91)
CIE-LCHlch(17.57, 22.99, 275.01°)
OKLaboklab(28.97% -0.0198 -0.0653)
OKLCHoklch(28.97% 0.068 253.1)
XYZxyz(2.4017, 2.4245, 7.1775)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2C4C #4C2F0F
analogous
#0F4A4C #0F2C4C #100F4C
triadic
#0F2C4C #4C0F2C #2C4C0F
tetradic
#0F2C4C #4C0F4A #4C2F0F #0F4C10
square
#0F2C4C #4C0F4A #4C2F0F #0F4C10
split-complementary
#0F2C4C #4C100F #4A4C0F
monochromatic
#050F1A #050F1A #0F2C4C #194A7F #2367B2

Accessibility & contrast

On white

14.14
#0F2C4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2C4C
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2C4C#FFFFFF#000000##FFFFFF
##0F2C4C1.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2E4D
Deuteranopia (green-blind)
#14294B
Tritanopia (blue-blind)
#003438
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0f2c4c;
/* rgb */ color: rgb(15, 44, 76);
/* oklch */ color: oklch(29.0% 0.068 253.1);
Tailwind
colors: {
  custom: {
    50: '#57647e',
    500: '#0f2c4c',
    950: '#000000',
  },
}
SCSS
$custom: #0f2c4c;
$custom-light: #57647e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2c4c",
  "rgb": {
    "r": 15,
    "g": 44,
    "b": 76
  },
  "hsl": {
    "h": 211.475,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28968,
    "c": 0.0682,
    "h": 253.1
  },
  "luminance": 0.02425
}

Semantic roles & 50–950 ramp

primary
#0F2C4C
secondary
#865E31
accent
#983EEA
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#03050A
muted
#78797C

Preview Lab

Preview with #0F2C4C

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

Preview Lab → · Contrast checker → · Palette generator →

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