#0F225B#0F225B

#0F225B is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.7% C 0.105 H 265.7°. Best body text is #FFFFFF at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#0F225B
RGBrgb(15, 34, 91)
HSLhsl(225, 72%, 21%)
HSVhsv(225, 84%, 36%)
CMYKcmyk(83.5%, 62.6%, 0%, 64.3%)
CIE-LABlab(15.49, 16.01, -36.37)
CIE-LCHlch(15.49, 39.73, 293.76°)
OKLaboklab(27.74% -0.0079 -0.105)
OKLCHoklch(27.74% 0.105 265.7)
XYZxyz(2.6567, 2.0006, 10.1416)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F225B #5B480F
analogous
#0F485B #0F225B #220F5B
triadic
#0F225B #5B0F22 #225B0F
tetradic
#0F225B #5B0F48 #5B480F #0F5B22
square
#0F225B #5B0F48 #5B480F #0F5B22
split-complementary
#0F225B #5B220F #485B0F
monochromatic
#040A1A #060E26 #0F225B #183690 #2049C4

Accessibility & contrast

On white

15.00
#0F225B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#0F225B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F225B
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F225B#FFFFFF#000000##FFFFFF
##0F225B1.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5D
Deuteranopia (green-blind)
#00235A
Tritanopia (blue-blind)
#00303A
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0f225b;
/* rgb */ color: rgb(15, 34, 91);
/* oklch */ color: oklch(27.7% 0.105 265.7);
Tailwind
colors: {
  custom: {
    50: '#5c5c8a',
    500: '#0f225b',
    950: '#000000',
  },
}
SCSS
$custom: #0f225b;
$custom-light: #5c5c8a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f225b",
  "rgb": {
    "r": 15,
    "g": 34,
    "b": 91
  },
  "hsl": {
    "h": 225,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.27741,
    "c": 0.10533,
    "h": 265.7
  },
  "luminance": 0.02001
}

Semantic roles & 50–950 ramp

primary
#0F225B
secondary
#957C31
accent
#C139EE
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #0F225B

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

Preview Lab → · Contrast checker → · Palette generator →

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