#0F2B68#0F2B68

#0F2B68 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.0% C 0.113 H 263.0°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#0F2B68
RGBrgb(15, 43, 104)
HSLhsl(221, 75%, 23%)
HSVhsv(221, 86%, 41%)
CMYKcmyk(85.6%, 58.7%, 0%, 59.2%)
CIE-LABlab(19.34, 14.93, -38.68)
CIE-LCHlch(19.34, 41.46, 291.11°)
OKLaboklab(31% -0.0138 -0.1116)
OKLCHoklch(31% 0.113 263)
XYZxyz(3.5587, 2.8284, 13.4524)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2B68 #684C0F
analogous
#0F5768 #0F2B68 #200F68
triadic
#0F2B68 #680F2B #2B680F
tetradic
#0F2B68 #680F57 #684C0F #0F6820
square
#0F2B68 #680F57 #684C0F #0F6820
split-complementary
#0F2B68 #68200F #57680F
monochromatic
#040B1B #071533 #0F2B68 #17419D #1E57D3

Accessibility & contrast

On white

13.41
#0F2B68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2B68
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2B68#FFFFFF#000000##FFFFFF
##0F2B681.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336A
Deuteranopia (green-blind)
#002B67
Tritanopia (blue-blind)
#003A45
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #0f2b68;
/* rgb */ color: rgb(15, 43, 104);
/* oklch */ color: oklch(31.0% 0.113 263.0);
Tailwind
colors: {
  custom: {
    50: '#5f6394',
    500: '#0f2b68',
    950: '#000000',
  },
}
SCSS
$custom: #0f2b68;
$custom-light: #5f6394;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2b68",
  "rgb": {
    "r": 15,
    "g": 43,
    "b": 104
  },
  "hsl": {
    "h": 221.124,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.30996,
    "c": 0.1125,
    "h": 263
  },
  "luminance": 0.02829
}

Semantic roles & 50–950 ramp

primary
#0F2B68
secondary
#A17E32
accent
#B736F1
background
#F5F5F9
surface
#EAEAF1
border
#C6C6CB
text
#05050D
muted
#79797E

Preview Lab

Preview with #0F2B68

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

Preview Lab → · Contrast checker → · Palette generator →

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