#0F2E51#0F2E51

#0F2E51 is a dark, moderate cyan. Relative luminance 0.026; OKLCH L 29.9% C 0.073 H 253.7°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#0F2E51
RGBrgb(15, 46, 81)
HSLhsl(212, 69%, 19%)
HSVhsv(212, 81%, 32%)
CMYKcmyk(81.5%, 43.2%, 0%, 68.2%)
CIE-LABlab(18.58, 2.72, -24.68)
CIE-LCHlch(18.58, 24.83, 276.30°)
OKLaboklab(29.86% -0.0205 -0.0704)
OKLCHoklch(29.86% 0.073 253.7)
XYZxyz(2.6586, 2.6493, 8.1542)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2E51 #51320F
analogous
#0F4F51 #0F2E51 #110F51
triadic
#0F2E51 #510F2E #2E510F
tetradic
#0F2E51 #510F4F #51320F #0F5111
square
#0F2E51 #510F4F #51320F #0F5111
split-complementary
#0F2E51 #51110F #4F510F
monochromatic
#050F1A #05111D #0F2E51 #194B85 #2269B8

Accessibility & contrast

On white

13.73
#0F2E51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#0F2E51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2E51
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2E51#FFFFFF#000000##FFFFFF
##0F2E511.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3152
Deuteranopia (green-blind)
#132A50
Tritanopia (blue-blind)
#00363B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0f2e51;
/* rgb */ color: rgb(15, 46, 81);
/* oklch */ color: oklch(29.9% 0.073 253.7);
Tailwind
colors: {
  custom: {
    50: '#586682',
    500: '#0f2e51',
    950: '#000000',
  },
}
SCSS
$custom: #0f2e51;
$custom-light: #586682;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2e51",
  "rgb": {
    "r": 15,
    "g": 46,
    "b": 81
  },
  "hsl": {
    "h": 211.818,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.2986,
    "c": 0.07336,
    "h": 253.7
  },
  "luminance": 0.0265
}

Semantic roles & 50–950 ramp

primary
#0F2E51
secondary
#8B6131
accent
#993CEC
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C

Preview Lab

Preview with #0F2E51

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

Preview Lab → · Contrast checker → · Palette generator →

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