#0F2E67#0F2E67

#0F2E67 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.6% C 0.107 H 261.3°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#0F2E67
RGBrgb(15, 46, 103)
HSLhsl(219, 75%, 23%)
HSVhsv(219, 85%, 40%)
CMYKcmyk(85.4%, 55.3%, 0%, 59.6%)
CIE-LABlab(20.18, 12.29, -36.66)
CIE-LCHlch(20.18, 38.67, 288.54°)
OKLaboklab(31.61% -0.0162 -0.1057)
OKLCHoklch(31.61% 0.107 261.3)
XYZxyz(3.6213, 3.0344, 13.2242)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2E67 #67480F
analogous
#0F5A67 #0F2E67 #1C0F67
triadic
#0F2E67 #670F2E #2E670F
tetradic
#0F2E67 #670F5A #67480F #0F671C
square
#0F2E67 #670F5A #67480F #0F671C
split-complementary
#0F2E67 #671C0F #5A670F
monochromatic
#040C1B #071632 #0F2E67 #17469C #1F5ED2

Accessibility & contrast

On white

13.07
#0F2E67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#0F2E67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2E67
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2E67#FFFFFF#000000##FFFFFF
##0F2E671.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063569
Deuteranopia (green-blind)
#002D66
Tritanopia (blue-blind)
#003C45
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0f2e67;
/* rgb */ color: rgb(15, 46, 103);
/* oklch */ color: oklch(31.6% 0.107 261.3);
Tailwind
colors: {
  custom: {
    50: '#5e6693',
    500: '#0f2e67',
    950: '#000000',
  },
}
SCSS
$custom: #0f2e67;
$custom-light: #5e6693;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2e67",
  "rgb": {
    "r": 15,
    "g": 46,
    "b": 103
  },
  "hsl": {
    "h": 218.864,
    "s": 74.576,
    "l": 23.137
  },
  "oklch": {
    "l": 0.31606,
    "c": 0.1069,
    "h": 261.3
  },
  "luminance": 0.03035
}

Semantic roles & 50–950 ramp

primary
#0F2E67
secondary
#A07932
accent
#AF37F1
background
#F5F6F9
surface
#EAEBF1
border
#C6C6CB
text
#05050D
muted
#797A7E

Preview Lab

Preview with #0F2E67

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

Preview Lab → · Contrast checker → · Palette generator →

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