#0F2F5F#0F2F5F

#0F2F5F is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.2% C 0.093 H 258.7°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#0F2F5F
RGBrgb(15, 47, 95)
HSLhsl(216, 73%, 22%)
HSVhsv(216, 84%, 37%)
CMYKcmyk(84.2%, 50.5%, 0%, 62.7%)
CIE-LABlab(19.88, 8.08, -31.90)
CIE-LCHlch(19.88, 32.91, 284.22°)
OKLaboklab(31.18% -0.0183 -0.0916)
OKLCHoklch(31.18% 0.093 258.7)
XYZxyz(3.2783, 2.9604, 11.2229)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2F5F #5F3F0F
analogous
#0F575F #0F2F5F #170F5F
triadic
#0F2F5F #5F0F2F #2F5F0F
tetradic
#0F2F5F #5F0F57 #5F3F0F #0F5F17
square
#0F2F5F #5F0F57 #5F3F0F #0F5F17
split-complementary
#0F2F5F #5F170F #575F0F
monochromatic
#040D1A #07152A #0F2F5F #174994 #2063C9

Accessibility & contrast

On white

13.19
#0F2F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#0F2F5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2F5F
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2F5F#FFFFFF#000000##FFFFFF
##0F2F5F1.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143461
Deuteranopia (green-blind)
#002D5E
Tritanopia (blue-blind)
#003A42
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0f2f5f;
/* rgb */ color: rgb(15, 47, 95);
/* oklch */ color: oklch(31.2% 0.093 258.7);
Tailwind
colors: {
  custom: {
    50: '#5c678d',
    500: '#0f2f5f',
    950: '#000000',
  },
}
SCSS
$custom: #0f2f5f;
$custom-light: #5c678d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2f5f",
  "rgb": {
    "r": 15,
    "g": 47,
    "b": 95
  },
  "hsl": {
    "h": 216,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31184,
    "c": 0.09345,
    "h": 258.7
  },
  "luminance": 0.02961
}

Semantic roles & 50–950 ramp

primary
#0F2F5F
secondary
#986F32
accent
#A638EF
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #0F2F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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