#02313B#02313B

#02313B is a dark, muted cyan. Relative luminance 0.025; OKLCH L 28.9% C 0.050 H 216.3°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#02313B
RGBrgb(2, 49, 59)
HSLhsl(191, 93%, 12%)
HSVhsv(191, 97%, 23%)
CMYKcmyk(96.6%, 16.9%, 0%, 76.9%)
CIE-LABlab(18.03, -10.69, -10.59)
CIE-LCHlch(18.03, 15.05, 224.73°)
OKLaboklab(28.91% -0.0403 -0.0296)
OKLCHoklch(28.91% 0.05 216.3)
XYZxyz(1.9124, 2.5250, 4.5234)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02313B #3B0C02
analogous
#023B29 #02313B #02153B
triadic
#02313B #3B0231 #313B02
tetradic
#02313B #29023B #3B0C02 #153B02
square
#02313B #29023B #3B0C02 #153B02
split-complementary
#02313B #3B0215 #3B2902
monochromatic
#01191E #01191E #02313B #046276 #0693B1

Accessibility & contrast

On white

13.95
#02313B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#02313B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02313B
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02313B#FFFFFF#000000##FFFFFF
##02313B1.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2F3C
Deuteranopia (green-blind)
#232A3B
Tritanopia (blue-blind)
#003534
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #02313b;
/* rgb */ color: rgb(2, 49, 59);
/* oklch */ color: oklch(28.9% 0.050 216.3);
Tailwind
colors: {
  custom: {
    50: '#4f6971',
    500: '#02313b',
    950: '#000000',
  },
}
SCSS
$custom: #02313b;
$custom-light: #4f6971;
$custom-dark: #000000;
JSON
{
  "hex": "#02313b",
  "rgb": {
    "r": 2,
    "g": 49,
    "b": 59
  },
  "hsl": {
    "h": 190.526,
    "s": 93.443,
    "l": 11.961
  },
  "oklch": {
    "l": 0.28908,
    "c": 0.05003,
    "h": 216.3
  },
  "luminance": 0.02525
}

Semantic roles & 50–950 ramp

primary
#02313B
secondary
#7E2C1A
accent
#4E29FF
background
#F4F6F6
surface
#E7EBEC
border
#C3C6C7
text
#020607
muted
#787A7A

Preview Lab

Preview with #02313B

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

Preview Lab → · Contrast checker → · Palette generator →

#02313B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva