#0F2D52#0F2D52

#0F2D52 is a dark, moderate cyan. Relative luminance 0.026; OKLCH L 29.7% C 0.076 H 255.4°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#0F2D52
RGBrgb(15, 45, 82)
HSLhsl(213, 69%, 19%)
HSVhsv(213, 82%, 32%)
CMYKcmyk(81.7%, 45.1%, 0%, 67.8%)
CIE-LABlab(18.31, 3.88, -25.79)
CIE-LCHlch(18.31, 26.08, 278.56°)
OKLaboklab(29.67% -0.0192 -0.0737)
OKLCHoklch(29.67% 0.076 255.4)
XYZxyz(2.6578, 2.5872, 8.3403)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2D52 #52340F
analogous
#0F4F52 #0F2D52 #130F52
triadic
#0F2D52 #520F2D #2D520F
tetradic
#0F2D52 #520F4F #52340F #0F5213
square
#0F2D52 #520F4F #52340F #0F5213
split-complementary
#0F2D52 #52130F #4F520F
monochromatic
#050E1A #06111E #0F2D52 #184986 #2266B9

Accessibility & contrast

On white

13.84
#0F2D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#0F2D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2D52
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2D52#FFFFFF#000000##FFFFFF
##0F2D521.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3053
Deuteranopia (green-blind)
#102A51
Tritanopia (blue-blind)
#00363B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0f2d52;
/* rgb */ color: rgb(15, 45, 82);
/* oklch */ color: oklch(29.7% 0.076 255.4);
Tailwind
colors: {
  custom: {
    50: '#586583',
    500: '#0f2d52',
    950: '#000000',
  },
}
SCSS
$custom: #0f2d52;
$custom-light: #586583;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2d52",
  "rgb": {
    "r": 15,
    "g": 45,
    "b": 82
  },
  "hsl": {
    "h": 213.134,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29669,
    "c": 0.07616,
    "h": 255.4
  },
  "luminance": 0.02588
}

Semantic roles & 50–950 ramp

primary
#0F2D52
secondary
#8C6331
accent
#9D3CEC
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050A
muted
#797A7C

Preview Lab

Preview with #0F2D52

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

Preview Lab → · Contrast checker → · Palette generator →

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