#0F2B66#0F2B66

#0F2B66 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.8% C 0.110 H 262.7°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#0F2B66
RGBrgb(15, 43, 102)
HSLhsl(221, 74%, 23%)
HSVhsv(221, 85%, 40%)
CMYKcmyk(85.3%, 57.8%, 0%, 60%)
CIE-LABlab(19.17, 14.07, -37.64)
CIE-LCHlch(19.17, 40.19, 290.49°)
OKLaboklab(30.82% -0.014 -0.1086)
OKLCHoklch(30.82% 0.11 262.7)
XYZxyz(3.4583, 2.7882, 12.9237)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2B66 #664A0F
analogous
#0F5666 #0F2B66 #1F0F66
triadic
#0F2B66 #660F2B #2B660F
tetradic
#0F2B66 #660F56 #664A0F #0F661F
square
#0F2B66 #660F56 #664A0F #0F661F
split-complementary
#0F2B66 #661F0F #56660F
monochromatic
#040B1B #071531 #0F2B66 #17419B #1F58D1

Accessibility & contrast

On white

13.48
#0F2B66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#0F2B66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2B66
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2B66#FFFFFF#000000##FFFFFF
##0F2B661.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003368
Deuteranopia (green-blind)
#002B65
Tritanopia (blue-blind)
#003A44
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #0f2b66;
/* rgb */ color: rgb(15, 43, 102);
/* oklch */ color: oklch(30.8% 0.110 262.7);
Tailwind
colors: {
  custom: {
    50: '#5e6392',
    500: '#0f2b66',
    950: '#000000',
  },
}
SCSS
$custom: #0f2b66;
$custom-light: #5e6392;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2b66",
  "rgb": {
    "r": 15,
    "g": 43,
    "b": 102
  },
  "hsl": {
    "h": 220.69,
    "s": 74.359,
    "l": 22.941
  },
  "oklch": {
    "l": 0.30816,
    "c": 0.1095,
    "h": 262.7
  },
  "luminance": 0.02789
}

Semantic roles & 50–950 ramp

primary
#0F2B66
secondary
#9F7C32
accent
#B537F1
background
#F5F5F9
surface
#EAEAF1
border
#C6C6CB
text
#05050D
muted
#79797E

Preview Lab

Preview with #0F2B66

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

Preview Lab → · Contrast checker → · Palette generator →

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