#0F2F62#0F2F62

#0F2F62 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.4% C 0.098 H 259.6°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#0F2F62
RGBrgb(15, 47, 98)
HSLhsl(217, 73%, 22%)
HSVhsv(217, 85%, 38%)
CMYKcmyk(84.7%, 52%, 0%, 61.6%)
CIE-LABlab(20.11, 9.39, -33.51)
CIE-LCHlch(20.11, 34.80, 285.65°)
OKLaboklab(31.43% -0.0178 -0.0964)
OKLCHoklch(31.43% 0.098 259.6)
XYZxyz(3.4173, 3.0160, 11.9549)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2F62 #62420F
analogous
#0F5962 #0F2F62 #180F62
triadic
#0F2F62 #620F2F #2F620F
tetradic
#0F2F62 #620F59 #62420F #0F6218
square
#0F2F62 #620F59 #62420F #0F6218
split-complementary
#0F2F62 #62180F #59620F
monochromatic
#040D1B #07162D #0F2F62 #174897 #1F62CC

Accessibility & contrast

On white

13.10
#0F2F62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#0F2F62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2F62
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2F62#FFFFFF#000000##FFFFFF
##0F2F621.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113564
Deuteranopia (green-blind)
#002D61
Tritanopia (blue-blind)
#003B43
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0f2f62;
/* rgb */ color: rgb(15, 47, 98);
/* oklch */ color: oklch(31.4% 0.098 259.6);
Tailwind
colors: {
  custom: {
    50: '#5d668f',
    500: '#0f2f62',
    950: '#000000',
  },
}
SCSS
$custom: #0f2f62;
$custom-light: #5d668f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2f62",
  "rgb": {
    "r": 15,
    "g": 47,
    "b": 98
  },
  "hsl": {
    "h": 216.867,
    "s": 73.451,
    "l": 22.157
  },
  "oklch": {
    "l": 0.31427,
    "c": 0.098,
    "h": 259.6
  },
  "luminance": 0.03016
}

Semantic roles & 50–950 ramp

primary
#0F2F62
secondary
#9B7232
accent
#A938F0
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #0F2F62

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

Preview Lab → · Contrast checker → · Palette generator →

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