#0F2B6E#0F2B6E

#0F2B6E is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.5% C 0.121 H 263.7°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#0F2B6E
RGBrgb(15, 43, 110)
HSLhsl(222, 76%, 25%)
HSVhsv(222, 86%, 43%)
CMYKcmyk(86.4%, 60.9%, 0%, 56.9%)
CIE-LABlab(19.86, 17.50, -41.73)
CIE-LCHlch(19.86, 45.25, 292.76°)
OKLaboklab(31.55% -0.0133 -0.1206)
OKLCHoklch(31.55% 0.121 263.7)
XYZxyz(3.8743, 2.9546, 15.1149)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2B6E #6E520F
analogous
#0F5B6E #0F2B6E #230F6E
triadic
#0F2B6E #6E0F2B #2B6E0F
tetradic
#0F2B6E #6E0F5B #6E520F #0F6E23
square
#0F2B6E #6E0F5B #6E520F #0F6E23
split-complementary
#0F2B6E #6E230F #5B6E0F
monochromatic
#040B1B #081638 #0F2B6E #1640A4 #1E55DA

Accessibility & contrast

On white

13.20
#0F2B6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#0F2B6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2B6E
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2B6E#FFFFFF#000000##FFFFFF
##0F2B6E1.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003570
Deuteranopia (green-blind)
#002C6D
Tritanopia (blue-blind)
#003C48
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0f2b6e;
/* rgb */ color: rgb(15, 43, 110);
/* oklch */ color: oklch(31.5% 0.121 263.7);
Tailwind
colors: {
  custom: {
    50: '#606398',
    500: '#0f2b6e',
    950: '#000000',
  },
}
SCSS
$custom: #0f2b6e;
$custom-light: #606398;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2b6e",
  "rgb": {
    "r": 15,
    "g": 43,
    "b": 110
  },
  "hsl": {
    "h": 222.316,
    "s": 76,
    "l": 24.51
  },
  "oklch": {
    "l": 0.31549,
    "c": 0.12135,
    "h": 263.7
  },
  "luminance": 0.02955
}

Semantic roles & 50–950 ramp

primary
#0F2B6E
secondary
#A68433
accent
#BB35F3
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #0F2B6E

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

Preview Lab → · Contrast checker → · Palette generator →

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