#0F2F68#0F2F68

#0F2F68 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.9% C 0.107 H 260.9°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#0F2F68
RGBrgb(15, 47, 104)
HSLhsl(218, 75%, 23%)
HSVhsv(218, 86%, 41%)
CMYKcmyk(85.6%, 54.8%, 0%, 59.2%)
CIE-LABlab(20.57, 11.99, -36.68)
CIE-LCHlch(20.57, 38.59, 288.11°)
OKLaboklab(31.93% -0.0169 -0.1057)
OKLCHoklch(31.93% 0.107 260.9)
XYZxyz(3.7113, 3.1336, 13.5033)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2F68 #68480F
analogous
#0F5B68 #0F2F68 #1B0F68
triadic
#0F2F68 #680F2F #2F680F
tetradic
#0F2F68 #680F5B #68480F #0F681B
square
#0F2F68 #680F5B #68480F #0F681B
split-complementary
#0F2F68 #681B0F #5B680F
monochromatic
#040C1B #071733 #0F2F68 #17479D #1E5FD3

Accessibility & contrast

On white

12.91
#0F2F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#0F2F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2F68
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2F68#FFFFFF#000000##FFFFFF
##0F2F681.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08366A
Deuteranopia (green-blind)
#002E67
Tritanopia (blue-blind)
#003D46
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #0f2f68;
/* rgb */ color: rgb(15, 47, 104);
/* oklch */ color: oklch(31.9% 0.107 260.9);
Tailwind
colors: {
  custom: {
    50: '#5e6694',
    500: '#0f2f68',
    950: '#000000',
  },
}
SCSS
$custom: #0f2f68;
$custom-light: #5e6694;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2f68",
  "rgb": {
    "r": 15,
    "g": 47,
    "b": 104
  },
  "hsl": {
    "h": 218.427,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.31929,
    "c": 0.10704,
    "h": 260.9
  },
  "luminance": 0.03134
}

Semantic roles & 50–950 ramp

primary
#0F2F68
secondary
#A17932
accent
#AE36F1
background
#F5F6F9
surface
#EAEBF1
border
#C6C6CB
text
#05060D
muted
#797A7E

Preview Lab

Preview with #0F2F68

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

Preview Lab → · Contrast checker → · Palette generator →

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