#0F2E52#0F2E52

#0F2E52 is a dark, moderate cyan. Relative luminance 0.027; OKLCH L 29.9% C 0.075 H 254.3°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#0F2E52
RGBrgb(15, 46, 82)
HSLhsl(212, 69%, 19%)
HSVhsv(212, 82%, 32%)
CMYKcmyk(81.7%, 43.9%, 0%, 67.8%)
CIE-LABlab(18.65, 3.16, -25.25)
CIE-LCHlch(18.65, 25.44, 277.13°)
OKLaboklab(29.93% -0.0203 -0.0721)
OKLCHoklch(29.93% 0.075 254.3)
XYZxyz(2.6964, 2.6644, 8.3532)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2E52 #52330F
analogous
#0F5052 #0F2E52 #120F52
triadic
#0F2E52 #520F2E #2E520F
tetradic
#0F2E52 #520F50 #52330F #0F5212
square
#0F2E52 #520F50 #52330F #0F5212
split-complementary
#0F2E52 #52120F #50520F
monochromatic
#050F1A #06111E #0F2E52 #184B86 #2268B9

Accessibility & contrast

On white

13.70
#0F2E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2E52
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2E52#FFFFFF#000000##FFFFFF
##0F2E521.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3153
Deuteranopia (green-blind)
#122B51
Tritanopia (blue-blind)
#00363C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0f2e52;
/* rgb */ color: rgb(15, 46, 82);
/* oklch */ color: oklch(29.9% 0.075 254.3);
Tailwind
colors: {
  custom: {
    50: '#586683',
    500: '#0f2e52',
    950: '#000000',
  },
}
SCSS
$custom: #0f2e52;
$custom-light: #586683;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2e52",
  "rgb": {
    "r": 15,
    "g": 46,
    "b": 82
  },
  "hsl": {
    "h": 212.239,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29932,
    "c": 0.07489,
    "h": 254.3
  },
  "luminance": 0.02665
}

Semantic roles & 50–950 ramp

primary
#0F2E52
secondary
#8C6231
accent
#9A3CEC
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050A
muted
#797A7C

Preview Lab

Preview with #0F2E52

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

Preview Lab → · Contrast checker → · Palette generator →

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