#0F2259#0F2259

#0F2259 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.6% C 0.102 H 265.5°. Best body text is #FFFFFF at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#0F2259
RGBrgb(15, 34, 89)
HSLhsl(225, 71%, 20%)
HSVhsv(225, 83%, 35%)
CMYKcmyk(83.1%, 61.8%, 0%, 65.1%)
CIE-LABlab(15.31, 15.14, -35.32)
CIE-LCHlch(15.31, 38.43, 293.21°)
OKLaboklab(27.55% -0.008 -0.102)
OKLCHoklch(27.55% 0.102 265.5)
XYZxyz(2.5716, 1.9666, 9.6933)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2259 #59460F
analogous
#0F4759 #0F2259 #210F59
triadic
#0F2259 #590F22 #22590F
tetradic
#0F2259 #590F47 #59460F #0F5921
square
#0F2259 #590F47 #59460F #0F5921
split-complementary
#0F2259 #59210F #47590F
monochromatic
#040A1A #060E25 #0F2259 #18368D #214AC2

Accessibility & contrast

On white

15.07
#0F2259 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#0F2259 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2259
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2259#FFFFFF#000000##FFFFFF
##0F22591.0015.071.3915.07
#FFFFFF15.071.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5B
Deuteranopia (green-blind)
#002358
Tritanopia (blue-blind)
#003039
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0f2259;
/* rgb */ color: rgb(15, 34, 89);
/* oklch */ color: oklch(27.6% 0.102 265.5);
Tailwind
colors: {
  custom: {
    50: '#5b5c88',
    500: '#0f2259',
    950: '#000000',
  },
}
SCSS
$custom: #0f2259;
$custom-light: #5b5c88;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2259",
  "rgb": {
    "r": 15,
    "g": 34,
    "b": 89
  },
  "hsl": {
    "h": 224.595,
    "s": 71.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.2755,
    "c": 0.10227,
    "h": 265.5
  },
  "luminance": 0.01967
}

Semantic roles & 50–950 ramp

primary
#0F2259
secondary
#937A31
accent
#C03AEE
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04040B
muted
#79797C

Preview Lab

Preview with #0F2259

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

Preview Lab → · Contrast checker → · Palette generator →

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