#0F2C4D#0F2C4D

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

Color values

HEX#0F2C4D
RGBrgb(15, 44, 77)
HSLhsl(212, 67%, 18%)
HSVhsv(212, 81%, 30%)
CMYKcmyk(80.5%, 42.9%, 0%, 69.8%)
CIE-LABlab(17.64, 2.44, -23.48)
CIE-LCHlch(17.64, 23.61, 275.93°)
OKLaboklab(29.04% -0.0195 -0.0669)
OKLCHoklch(29.04% 0.07 253.8)
XYZxyz(2.4367, 2.4385, 7.3620)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2C4D #4D300F
analogous
#0F4B4D #0F2C4D #110F4D
triadic
#0F2C4D #4D0F2C #2C4D0F
tetradic
#0F2C4D #4D0F4B #4D300F #0F4D11
square
#0F2C4D #4D0F4B #4D300F #0F4D11
split-complementary
#0F2C4D #4D110F #4B4D0F
monochromatic
#050F1A #050F1A #0F2C4D #194980 #2367B3

Accessibility & contrast

On white

14.11
#0F2C4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2C4D
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2C4D#FFFFFF#000000##FFFFFF
##0F2C4D1.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2E4E
Deuteranopia (green-blind)
#13294C
Tritanopia (blue-blind)
#003438
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0f2c4d;
/* rgb */ color: rgb(15, 44, 77);
/* oklch */ color: oklch(29.0% 0.070 253.8);
Tailwind
colors: {
  custom: {
    50: '#57647f',
    500: '#0f2c4d',
    950: '#000000',
  },
}
SCSS
$custom: #0f2c4d;
$custom-light: #57647f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2c4d",
  "rgb": {
    "r": 15,
    "g": 44,
    "b": 77
  },
  "hsl": {
    "h": 211.935,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.2904,
    "c": 0.06973,
    "h": 253.8
  },
  "luminance": 0.02439
}

Semantic roles & 50–950 ramp

primary
#0F2C4D
secondary
#875F31
accent
#993EEA
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#03050A
muted
#78797C

Preview Lab

Preview with #0F2C4D

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

Preview Lab → · Contrast checker → · Palette generator →

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