#0F2D4D#0F2D4D

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

Color values

HEX#0F2D4D
RGBrgb(15, 45, 77)
HSLhsl(211, 67%, 18%)
HSVhsv(211, 81%, 30%)
CMYKcmyk(80.5%, 41.6%, 0%, 69.8%)
CIE-LABlab(17.98, 1.72, -22.94)
CIE-LCHlch(17.98, 23.00, 274.28°)
OKLaboklab(29.31% -0.0206 -0.0653)
OKLCHoklch(29.31% 0.069 252.5)
XYZxyz(2.4744, 2.5139, 7.3746)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2D4D #4D2F0F
analogous
#0F4C4D #0F2D4D #100F4D
triadic
#0F2D4D #4D0F2D #2D4D0F
tetradic
#0F2D4D #4D0F4C #4D2F0F #0F4D10
square
#0F2D4D #4D0F4C #4D2F0F #0F4D10
split-complementary
#0F2D4D #4D100F #4C4D0F
monochromatic
#050F1A #050F1A #0F2D4D #194B80 #2369B3

Accessibility & contrast

On white

13.97
#0F2D4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#0F2D4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2D4D
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2D4D#FFFFFF#000000##FFFFFF
##0F2D4D1.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2F4E
Deuteranopia (green-blind)
#15294C
Tritanopia (blue-blind)
#003539
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0f2d4d;
/* rgb */ color: rgb(15, 45, 77);
/* oklch */ color: oklch(29.3% 0.069 252.5);
Tailwind
colors: {
  custom: {
    50: '#57657f',
    500: '#0f2d4d',
    950: '#000000',
  },
}
SCSS
$custom: #0f2d4d;
$custom-light: #57657f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2d4d",
  "rgb": {
    "r": 15,
    "g": 45,
    "b": 77
  },
  "hsl": {
    "h": 210.968,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.29308,
    "c": 0.0685,
    "h": 252.5
  },
  "luminance": 0.02514
}

Semantic roles & 50–950 ramp

primary
#0F2D4D
secondary
#875D31
accent
#973EEA
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#03050A
muted
#787A7C

Preview Lab

Preview with #0F2D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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