#0F2F67#0F2F67

#0F2F67 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.8% C 0.106 H 260.7°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#0F2F67
RGBrgb(15, 47, 103)
HSLhsl(218, 75%, 23%)
HSVhsv(218, 85%, 40%)
CMYKcmyk(85.4%, 54.4%, 0%, 59.6%)
CIE-LABlab(20.49, 11.56, -36.16)
CIE-LCHlch(20.49, 37.96, 287.73°)
OKLaboklab(31.84% -0.017 -0.1042)
OKLCHoklch(31.84% 0.106 260.7)
XYZxyz(3.6608, 3.1134, 13.2373)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2F67 #67470F
analogous
#0F5B67 #0F2F67 #1B0F67
triadic
#0F2F67 #670F2F #2F670F
tetradic
#0F2F67 #670F5B #67470F #0F671B
square
#0F2F67 #670F5B #67470F #0F671B
split-complementary
#0F2F67 #671B0F #5B670F
monochromatic
#040C1B #071732 #0F2F67 #17479C #1F60D2

Accessibility & contrast

On white

12.94
#0F2F67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#0F2F67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2F67
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2F67#FFFFFF#000000##FFFFFF
##0F2F671.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093669
Deuteranopia (green-blind)
#002E66
Tritanopia (blue-blind)
#003D46
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0f2f67;
/* rgb */ color: rgb(15, 47, 103);
/* oklch */ color: oklch(31.8% 0.106 260.7);
Tailwind
colors: {
  custom: {
    50: '#5e6693',
    500: '#0f2f67',
    950: '#000000',
  },
}
SCSS
$custom: #0f2f67;
$custom-light: #5e6693;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2f67",
  "rgb": {
    "r": 15,
    "g": 47,
    "b": 103
  },
  "hsl": {
    "h": 218.182,
    "s": 74.576,
    "l": 23.137
  },
  "oklch": {
    "l": 0.31844,
    "c": 0.10554,
    "h": 260.7
  },
  "luminance": 0.03114
}

Semantic roles & 50–950 ramp

primary
#0F2F67
secondary
#A07832
accent
#AD37F1
background
#F5F6F9
surface
#EAEBF1
border
#C6C6CB
text
#05060D
muted
#797A7E

Preview Lab

Preview with #0F2F67

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

Preview Lab → · Contrast checker → · Palette generator →

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