#0F2F58#0F2F58

#0F2F58 is a dark, moderate cyan. Relative luminance 0.028; OKLCH L 30.6% C 0.083 H 256.2°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#0F2F58
RGBrgb(15, 47, 88)
HSLhsl(214, 71%, 20%)
HSVhsv(214, 83%, 35%)
CMYKcmyk(83%, 46.6%, 0%, 65.5%)
CIE-LABlab(19.39, 5.03, -28.07)
CIE-LCHlch(19.39, 28.52, 280.17°)
OKLaboklab(30.64% -0.0198 -0.0804)
OKLCHoklch(30.64% 0.083 256.2)
XYZxyz(2.9743, 2.8388, 9.6218)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2F58 #58380F
analogous
#0F5358 #0F2F58 #140F58
triadic
#0F2F58 #580F2F #2F580F
tetradic
#0F2F58 #580F53 #58380F #0F5814
square
#0F2F58 #580F53 #58380F #0F5814
split-complementary
#0F2F58 #58140F #53580F
monochromatic
#040E1A #061324 #0F2F58 #184B8C #2167C1

Accessibility & contrast

On white

13.39
#0F2F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#0F2F58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2F58
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2F58#FFFFFF#000000##FFFFFF
##0F2F581.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B335A
Deuteranopia (green-blind)
#0D2C57
Tritanopia (blue-blind)
#00393F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #0f2f58;
/* rgb */ color: rgb(15, 47, 88);
/* oklch */ color: oklch(30.6% 0.083 256.2);
Tailwind
colors: {
  custom: {
    50: '#5a6787',
    500: '#0f2f58',
    950: '#000000',
  },
}
SCSS
$custom: #0f2f58;
$custom-light: #5a6787;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2f58",
  "rgb": {
    "r": 15,
    "g": 47,
    "b": 88
  },
  "hsl": {
    "h": 213.699,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30638,
    "c": 0.08277,
    "h": 256.2
  },
  "luminance": 0.02839
}

Semantic roles & 50–950 ramp

primary
#0F2F58
secondary
#926731
accent
#9F3AEE
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #0F2F58

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

Preview Lab → · Contrast checker → · Palette generator →

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