#0F2A6D#0F2A6D

#0F2A6D is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.2% C 0.121 H 264.0°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#0F2A6D
RGBrgb(15, 42, 109)
HSLhsl(223, 76%, 24%)
HSVhsv(223, 86%, 43%)
CMYKcmyk(86.2%, 61.5%, 0%, 57.3%)
CIE-LABlab(19.48, 17.81, -41.70)
CIE-LCHlch(19.48, 45.34, 293.12°)
OKLaboklab(31.24% -0.0127 -0.1206)
OKLCHoklch(31.24% 0.121 264)
XYZxyz(3.7843, 2.8612, 14.8178)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2A6D #6D520F
analogous
#0F596D #0F2A6D #230F6D
triadic
#0F2A6D #6D0F2A #2A6D0F
tetradic
#0F2A6D #6D0F59 #6D520F #0F6D23
square
#0F2A6D #6D0F59 #6D520F #0F6D23
split-complementary
#0F2A6D #6D230F #596D0F
monochromatic
#040A1B #081537 #0F2A6D #163FA3 #1E53D9

Accessibility & contrast

On white

13.36
#0F2A6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#0F2A6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2A6D
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2A6D#FFFFFF#000000##FFFFFF
##0F2A6D1.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346F
Deuteranopia (green-blind)
#002B6C
Tritanopia (blue-blind)
#003B47
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #0f2a6d;
/* rgb */ color: rgb(15, 42, 109);
/* oklch */ color: oklch(31.2% 0.121 264.0);
Tailwind
colors: {
  custom: {
    50: '#606397',
    500: '#0f2a6d',
    950: '#000000',
  },
}
SCSS
$custom: #0f2a6d;
$custom-light: #606397;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2a6d",
  "rgb": {
    "r": 15,
    "g": 42,
    "b": 109
  },
  "hsl": {
    "h": 222.766,
    "s": 75.806,
    "l": 24.314
  },
  "oklch": {
    "l": 0.31235,
    "c": 0.12123,
    "h": 264
  },
  "luminance": 0.02862
}

Semantic roles & 50–950 ramp

primary
#0F2A6D
secondary
#A58433
accent
#BC35F2
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #0F2A6D

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

Preview Lab → · Contrast checker → · Palette generator →

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