#0F2268#0F2268

#0F2268 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.0% C 0.125 H 266.4°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#0F2268
RGBrgb(15, 34, 104)
HSLhsl(227, 75%, 23%)
HSVhsv(227, 86%, 41%)
CMYKcmyk(85.6%, 67.3%, 0%, 59.2%)
CIE-LABlab(16.72, 21.52, -42.95)
CIE-LCHlch(16.72, 48.04, 296.61°)
OKLaboklab(29.04% -0.0078 -0.1243)
OKLCHoklch(29.04% 0.125 266.4)
XYZxyz(3.2668, 2.2447, 13.3551)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2268 #68550F
analogous
#0F4E68 #0F2268 #280F68
triadic
#0F2268 #680F22 #22680F
tetradic
#0F2268 #680F4E #68550F #0F6828
square
#0F2268 #680F4E #68550F #0F6828
split-complementary
#0F2268 #68280F #4E680F
monochromatic
#04091B #071133 #0F2268 #17339D #1E45D3

Accessibility & contrast

On white

14.49
#0F2268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#0F2268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2268
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2268#FFFFFF#000000##FFFFFF
##0F22681.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6A
Deuteranopia (green-blind)
#002567
Tritanopia (blue-blind)
#003441
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0f2268;
/* rgb */ color: rgb(15, 34, 104);
/* oklch */ color: oklch(29.0% 0.125 266.4);
Tailwind
colors: {
  custom: {
    50: '#5f5c94',
    500: '#0f2268',
    950: '#000000',
  },
}
SCSS
$custom: #0f2268;
$custom-light: #5f5c94;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2268",
  "rgb": {
    "r": 15,
    "g": 34,
    "b": 104
  },
  "hsl": {
    "h": 227.191,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.29038,
    "c": 0.12458,
    "h": 266.4
  },
  "luminance": 0.02245
}

Semantic roles & 50–950 ramp

primary
#0F2268
secondary
#A18932
accent
#C936F1
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #0F2268

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

Preview Lab → · Contrast checker → · Palette generator →

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