#0F2F5B#0F2F5B

#0F2F5B is a dark, moderate cyan. Relative luminance 0.029; OKLCH L 30.9% C 0.087 H 257.4°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#0F2F5B
RGBrgb(15, 47, 91)
HSLhsl(215, 72%, 21%)
HSVhsv(215, 84%, 36%)
CMYKcmyk(83.5%, 48.4%, 0%, 64.3%)
CIE-LABlab(19.60, 6.34, -29.73)
CIE-LCHlch(19.60, 30.39, 282.04°)
OKLaboklab(30.87% -0.0191 -0.0852)
OKLCHoklch(30.87% 0.087 257.4)
XYZxyz(3.1011, 2.8896, 10.2898)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2F5B #5B3B0F
analogous
#0F555B #0F2F5B #150F5B
triadic
#0F2F5B #5B0F2F #2F5B0F
tetradic
#0F2F5B #5B0F55 #5B3B0F #0F5B15
square
#0F2F5B #5B0F55 #5B3B0F #0F5B15
split-complementary
#0F2F5B #5B150F #555B0F
monochromatic
#040E1A #061426 #0F2F5B #184A90 #2065C4

Accessibility & contrast

On white

13.31
#0F2F5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#0F2F5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2F5B
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2F5B#FFFFFF#000000##FFFFFF
##0F2F5B1.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18335D
Deuteranopia (green-blind)
#082C5A
Tritanopia (blue-blind)
#003940
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #0f2f5b;
/* rgb */ color: rgb(15, 47, 91);
/* oklch */ color: oklch(30.9% 0.087 257.4);
Tailwind
colors: {
  custom: {
    50: '#5b678a',
    500: '#0f2f5b',
    950: '#000000',
  },
}
SCSS
$custom: #0f2f5b;
$custom-light: #5b678a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2f5b",
  "rgb": {
    "r": 15,
    "g": 47,
    "b": 91
  },
  "hsl": {
    "h": 214.737,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30868,
    "c": 0.08735,
    "h": 257.4
  },
  "luminance": 0.0289
}

Semantic roles & 50–950 ramp

primary
#0F2F5B
secondary
#956B31
accent
#A239EE
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060B
muted
#797A7C

Preview Lab

Preview with #0F2F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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