#0F2A6B#0F2A6B

#0F2A6B is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.0% C 0.118 H 263.8°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#0F2A6B
RGBrgb(15, 42, 107)
HSLhsl(222, 75%, 24%)
HSVhsv(222, 86%, 42%)
CMYKcmyk(86%, 60.7%, 0%, 58%)
CIE-LABlab(19.30, 16.95, -40.69)
CIE-LCHlch(19.30, 44.08, 292.62°)
OKLaboklab(31.05% -0.0128 -0.1176)
OKLCHoklch(31.05% 0.118 263.8)
XYZxyz(3.6779, 2.8186, 14.2573)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2A6B #6B500F
analogous
#0F586B #0F2A6B #220F6B
triadic
#0F2A6B #6B0F2A #2A6B0F
tetradic
#0F2A6B #6B0F58 #6B500F #0F6B22
square
#0F2A6B #6B0F58 #6B500F #0F6B22
split-complementary
#0F2A6B #6B220F #586B0F
monochromatic
#040B1B #071535 #0F2A6B #173FA1 #1E54D6

Accessibility & contrast

On white

13.43
#0F2A6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2A6B
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2A6B#FFFFFF#000000##FFFFFF
##0F2A6B1.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336D
Deuteranopia (green-blind)
#002B6A
Tritanopia (blue-blind)
#003A46
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #0f2a6b;
/* rgb */ color: rgb(15, 42, 107);
/* oklch */ color: oklch(31.0% 0.118 263.8);
Tailwind
colors: {
  custom: {
    50: '#606396',
    500: '#0f2a6b',
    950: '#000000',
  },
}
SCSS
$custom: #0f2a6b;
$custom-light: #606396;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2a6b",
  "rgb": {
    "r": 15,
    "g": 42,
    "b": 107
  },
  "hsl": {
    "h": 222.391,
    "s": 75.41,
    "l": 23.922
  },
  "oklch": {
    "l": 0.31047,
    "c": 0.1183,
    "h": 263.8
  },
  "luminance": 0.02819
}

Semantic roles & 50–950 ramp

primary
#0F2A6B
secondary
#A38232
accent
#BB36F2
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#05050D
muted
#7A797E

Preview Lab

Preview with #0F2A6B

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

Preview Lab → · Contrast checker → · Palette generator →

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