#0F2664#0F2664

#0F2664 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.5% C 0.113 H 264.7°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#0F2664
RGBrgb(15, 38, 100)
HSLhsl(224, 74%, 23%)
HSVhsv(224, 85%, 39%)
CMYKcmyk(85%, 62%, 0%, 60.8%)
CIE-LABlab(17.50, 16.90, -39.06)
CIE-LCHlch(17.50, 42.56, 293.39°)
OKLaboklab(29.5% -0.0104 -0.1129)
OKLCHoklch(29.5% 0.113 264.7)
XYZxyz(3.1895, 2.4075, 12.3507)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2664 #644D0F
analogous
#0F5064 #0F2664 #230F64
triadic
#0F2664 #640F26 #26640F
tetradic
#0F2664 #640F50 #644D0F #0F6423
square
#0F2664 #640F50 #644D0F #0F6423
split-complementary
#0F2664 #64230F #50640F
monochromatic
#040A1B #07122F #0F2664 #173A99 #1F4ECE

Accessibility & contrast

On white

14.17
#0F2664 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#0F2664 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2664
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2664#FFFFFF#000000##FFFFFF
##0F26641.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F66
Deuteranopia (green-blind)
#002763
Tritanopia (blue-blind)
#003641
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0f2664;
/* rgb */ color: rgb(15, 38, 100);
/* oklch */ color: oklch(29.5% 0.113 264.7);
Tailwind
colors: {
  custom: {
    50: '#5e5f91',
    500: '#0f2664',
    950: '#000000',
  },
}
SCSS
$custom: #0f2664;
$custom-light: #5e5f91;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2664",
  "rgb": {
    "r": 15,
    "g": 38,
    "b": 100
  },
  "hsl": {
    "h": 223.765,
    "s": 73.913,
    "l": 22.549
  },
  "oklch": {
    "l": 0.29496,
    "c": 0.11337,
    "h": 264.7
  },
  "luminance": 0.02408
}

Semantic roles & 50–950 ramp

primary
#0F2664
secondary
#9D8032
accent
#BE37F1
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040D
muted
#79797D

Preview Lab

Preview with #0F2664

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

Preview Lab → · Contrast checker → · Palette generator →

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